
bad_request: param is missing or the value is empty: transaction
Just started using the API and it looks beautiful!
Requesting my budgets and accounts works fine, but I'm having trouble adding a transaction. I'm posting this JSON:
{ "transaction": { "account_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "amount": "12340", "cleared": "cleared", "date": "2018-04-02", "import_id": "YNAB:12340:2018-04-02:1", "memo": "" } }
To this URL:
https://api.youneedabudget.com/v1/budgets/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/transactions
The reply is:
{ "error": { "detail": "param is missing or the value is empty: transaction", "id": "400", "name": "bad_request" } }
What does this error message mean?
Like
Follow
8replies