mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-03-09 22:50:04 +01:00
POST /api/accounts/ - group_id object does not exist. #42
Reference in New Issue
Block a user
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?
Originally created by @gwynnbleiidd on GitHub (May 11, 2025).
Hello, when creating an account, I receive
{\"group_id\":[\"Invalid pk \\\"4\\\" - object does not exist.\"]}Despite the fact that here is the answer from /api/account-groups/
{ "count": 3, "next": null, "previous": null, "results": [ { "id": 1, "visibility": "private", "name": "Stocks", "owner": 1, "shared_with": [] }, { "id": 2, "visibility": "private", "name": "Crypto", "owner": 1, "shared_with": [] }, { "id": 4, "visibility": "private", "name": "Libertex", "owner": 1, "shared_with": [] } ] }And here is the body of the request
{ "name": "Libertex {{ $json.name }}", "group_id": 4, "currency_id": {{ $json.id }}, "exchange_currency_id": 2, "is_asset": true }Through the interface, everything is well created. And it is for this group
@eitchtee commented on GitHub (May 11, 2025):
Thanks for catching that.
I'm releasing 0.12.10 right now with a fix, should take a few minutes to become available, let me know how it goes.
@gwynnbleiidd commented on GitHub (May 11, 2025):
Perfect) uploaded small part of stocks transaction
@eitchtee commented on GitHub (May 11, 2025):
Great! Hope you like WYGIWYH.
If you have any suggestions for improvements open an issue, development is slow right now due to real life stuff, but I'm always open to cool features.