-
Notifications
You must be signed in to change notification settings - Fork 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
Customize error message based on error type #2028
Comments
@grantfitzsimmons says that 500 error is very common and that more should be done to explain the potential causes in the error message |
Any |
The The unexpected response code error would now have a message explaining the likely cause and possible solutions. For testing purposes, you can open the |
@grantfitzsimmons here is the file that defines the error message for each Http response code - https://github.com/specify/specify7/blob/4b93058a678ea80d9c31ba8baac2f30be33cb574/specifyweb/frontend/js_src/lib/utils/ajax/definitions.ts Feel free to edit that file to provide more details or improve the error messages |
Created a new issue to expand this request. |
The
Invalid response code 504. Expected 200. Response: ...
error message is not very helpful to a non-technical user.It would be helpful to display a brief description of a problem and possible solutions (in this case, 504, Gateway Time-out, occurs because server is overloaded, and did not respond to a front-end requests within 60 seconds)
The text was updated successfully, but these errors were encountered: