Skip to content

[Bug] Odd response body for transactions #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alexghergh opened this issue Jun 6, 2019 · 3 comments
Open

[Bug] Odd response body for transactions #36

alexghergh opened this issue Jun 6, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@alexghergh
Copy link
Member

On the endpoint {{host}}/api/transactions/{{testGroupName}}/{{testBankName}}/new:

{
"statusCode": 400,
"message": "Cannot parse submitted transaction body!",
"error": "Unrecognized token 'alexghergh': was expecting ('true', 'false' or 'null')\n at [Source: (String)"{\n\t"amount": "150",\n\t"payee": alexghergh,\n\t"description": "This is a test of the transaction system. SomePayee adds 150 currency to the piggy bank.",\n\t"tags": "fun, test, transaction, tutorial, API"\n}"; line: 3, column: 21]"
}

@alexghergh alexghergh added the bug Something isn't working label Jun 6, 2019
@StormFireFox1
Copy link
Member

StormFireFox1 commented Jun 7, 2019 via email

@alexghergh
Copy link
Member Author

Indeed, the lack of quotes produced that kind of weird result.

Tried surrounding the name with quotes, and its a 500 server error given back.

@StormFireFox1
Copy link
Member

StormFireFox1 commented Jun 12, 2019 via email

@StormFireFox1 StormFireFox1 removed their assignment Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants