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

Error Message for /export/file endpoint if requested file not found is missleading #9

Open
joschrew opened this issue Aug 18, 2022 · 0 comments

Comments

@joschrew
Copy link
Collaborator

It is hardly distinguishable if the endpoint is not found or if the endpoint cannot find the requested file. Error message must contain something like: "requested path xxx for id yyy not found".
Error message for wrong endpoint requested:
{"timestamp":"2022-08-18T15:02:13.084+00:00","status":404,"error":"Not Found","message":"","path":"/export/non-existing-endpoint"}

Error message for correctly queried enpoint but not existing file:
{"httpCode":404,"httpStatus":"NOT_FOUND","message":"File not found.","timestamp":"2022-08-18T15:03:02.960959Z","path":"/export/file"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant