Skip to content
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

Internal server error on reimbursement API for some IDs #549

Open
gpr-indevelopment opened this issue Apr 4, 2021 · 0 comments
Open

Internal server error on reimbursement API for some IDs #549

gpr-indevelopment opened this issue Apr 4, 2021 · 0 comments
Labels

Comments

@gpr-indevelopment
Copy link

gpr-indevelopment commented Apr 4, 2021

What is the problem?
I found that some document IDs trigger an internal server error (status 500) from Jarbas' reimbursement API. For example, the following request returns 500 for ID 1681601:

GET https://jarbas.serenata.ai/api/chamber_of_deputies/reimbursement/1681601/

The same happens for IDs: 1633216, 1681597, 1681598, 1681600, 1681599. These are valid document codes from the chamber of deputies database of expenses:

How can this be addressed?
It all depends on the cause of the internal server error. The exception firing the 500 status should be addressed on Jarbas' side.
I would suggest trying to reproduce the given scenario to see what is the exception thrown.

Labels
[first-timers-only] [bug]

@ogecece ogecece added the bug label Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants