
Can't create transaction (error 500)
Hi,
I'm trying to create either a single transaction, or bulk transactions, but I am always getting a 500 error. Here is my query:
curl -X POST "https://api.youneedabudget.com/v1/budgets/$budget_id/transactions/bulk" -H "Accept: application/json" -H "Authorization: Bearer $token" -H "Content-Type: application/json" -d "{ \"transactions\": [{ \"account_id\": \"$account_id\", \"date\": \"14/08/2018\", \"amount\": 0, \"memo\": \"Test\" }]}"
The result is:
{"error":{"id":"500","name":"internal_server_error","detail":"An unexpected error has occurred"}}
I have the same problem when I try to create a single transaction.
Anything wrong with my post?
Thanks!