You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have observed that Redash returns a 500 error, which according to HTTP spec is a server error whenever a user issues an /api/jobs request for a Job that does not exist. The server logs show a stack trace for a rq.exceptions.NoSuchJobError error and an HTTP 500 is returned to the client.
Steps to Reproduce
Issue an /api/jobs request for a Job that does not exist
Look in the logs and at the HTTP code that Redash sent you and you'll see a stack trace and a 500 error.
This HTTP response is out of line with the intent of the HTTP 5XX class of errors. A more appropriate response would be a 4XX error. The Redash server is handling this request just fine and the "issue", if any, is bad user input. Why not 404? or even 401 if this is in the category of "does not exist or you are not authorized to access it".
Technical details:
Redash Version: redash:10.1.0.b50633
Browser/OS: N/A
How did you install Redash: we use Docker Images derived from your base Images.
The text was updated successfully, but these errors were encountered:
Issue Summary
We have observed that Redash returns a 500 error, which according to HTTP spec is a server error whenever a user issues an
/api/jobs
request for a Job that does not exist. The server logs show a stack trace for arq.exceptions.NoSuchJobError
error and an HTTP 500 is returned to the client.Steps to Reproduce
/api/jobs
request for a Job that does not exist500
error.This HTTP response is out of line with the intent of the HTTP
5XX
class of errors. A more appropriate response would be a4XX
error. The Redash server is handling this request just fine and the "issue", if any, is bad user input. Why not404
? or even401
if this is in the category of "does not exist or you are not authorized to access it".Technical details:
redash:10.1.0.b50633
The text was updated successfully, but these errors were encountered: