spla/appy
2
15
Fork
You've already forked appy
3

asyncpg.exceptions.ForeignKeyViolationError #38

Closed
opened 2025年04月07日 13:41:46 +02:00 by spla · 0 comments
Owner
Copy link

when an uknown remote user likes a local post:

activity type: Like

"POST /users/{username}/inbox HTTP/1.0" 500
2025年04月07日 10:51:14,732 - ERROR - Exception in ASGI application
asyncpg.exceptions.ForeignKeyViolationError: insert or update on table "favourites" violates foreign key constraint "fk_account_id"
DETAIL: Key (account_id)=(0) is not present in table "accounts".
when an uknown remote user likes a local post: activity type: Like ``` "POST /users/{username}/inbox HTTP/1.0" 500 2025年04月07日 10:51:14,732 - ERROR - Exception in ASGI application asyncpg.exceptions.ForeignKeyViolationError: insert or update on table "favourites" violates foreign key constraint "fk_account_id" DETAIL: Key (account_id)=(0) is not present in table "accounts". ```
spla referenced this issue from a commit 2025年04月07日 15:51:33 +02:00
Sign in to join this conversation.
No Branch/Tag specified
main
release/v0.1.1
release/v0.1
v0.5.0
v0.4.0
v0.3.0
v0.2.0
v0.1.1
v0.1
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
spla/appy#38
Reference in a new issue
spla/appy
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?