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

500 internal error in api/barangay #12

Open
warengonzaga opened this issue Mar 22, 2021 · 4 comments
Open

500 internal error in api/barangay #12

warengonzaga opened this issue Mar 22, 2021 · 4 comments
Assignees
Labels
bug Something is broken or not working. hacktoberfest Hacktoberfest related pull request or issue. help wanted Help wanted status for issue.
Milestone

Comments

@warengonzaga
Copy link
Member

Hi @justinbalaguer please check the code for calling api/barangay there is weird error there causing 500 error to appear.

@warengonzaga
Copy link
Member Author

Please use the official URL
image

@warengonzaga warengonzaga added this to the PSGC API v2 milestone Mar 25, 2021
@scinscinscin
Copy link

This may be caused by Vercel's request/ response payload limit of 5MB.
The barangay JSON is at least 6MB.

The streamed logs show an HTTP 413 error, which according to Vercel's docs is the error they show if the payload is too large.

@warengonzaga
Copy link
Member Author

This may be caused by Vercel's request/ response payload limit of 5MB.
The barangay JSON is at least 6MB.

The streamed logs show an HTTP 413 error, which according to Vercel's docs is the error they show if the payload is too large.

Noted... a pagination would be necessary for this one.

@warengonzaga warengonzaga pinned this issue Mar 27, 2021
@warengonzaga warengonzaga removed this from the PSGC API v2 milestone Mar 29, 2021
@warengonzaga
Copy link
Member Author

This issue is connected to this issue #26 for adding API pagination.

@warengonzaga warengonzaga changed the title 500 Internal error in api/barangay 500 internal error in api/barangay Oct 13, 2021
@warengonzaga warengonzaga added bug Something is broken or not working. help wanted Help wanted status for issue. hacktoberfest Hacktoberfest related pull request or issue. and removed 🐛 BUG labels Oct 13, 2021
@warengonzaga warengonzaga added this to the v3.0.0 📦 milestone Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken or not working. hacktoberfest Hacktoberfest related pull request or issue. help wanted Help wanted status for issue.
Projects
None yet
Development

No branches or pull requests

3 participants