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

Requests for an occurrence record not found shows "Application Error" #613

Open
nickdos opened this issue Aug 18, 2024 · 0 comments
Open
Labels

Comments

@nickdos
Copy link
Contributor

nickdos commented Aug 18, 2024

E.g. https://biocache.ala.org.au/occurrences/7563b168-57cb-4970-9b3a-a4585e4b8db6

Example is an occurrence record ID from databox, so it should just be treated as a "Not found" 404 page.
It's only if you read the "error details" and happen to know that buried code 404 (see below) is the "page not found" code, that you could tell this was a case of the ID not being found.

Current behaviour

Application error
Failed to get json from web service (https://biocache-ws.ala.org.au/ws/occurrences/7563b168-57cb-4970-9b3a-a4585e4b8db6) status 404 : Failed calling web service - service returned HTTP 404

Expected behaviour

Page not found
The requested record was not found. The supplied record ID is either incorrect or has been removed or replaced.

@nickdos nickdos added the bug label Aug 18, 2024
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

1 participant