Can not load schema and query

Issue Summary

A summary of the issue and the browser/OS environment in which it occurs.

Technical details:

  • Redash Version: 9
  • Browser/OS: Edge
  • How did you install Redash:
    [2020-09-09 04:22:49,296][PID:69][ERROR][] Exception on /api/jobs/fffd1992-c3bd-48c2-96ac-3c258d07c226 [GET]
    Traceback (most recent call last):
    File “/usr/local/lib/python3.7/site-packages/flask/”, line 1949, in full_dispatch_request
    rv = self.dispatch_request()
    File “/usr/local/lib/python3.7/site-packages/flask/”, line 1935, in dispatch_request
    return self.view_functionsrule.endpoint
    File “/usr/local/lib/python3.7/site-packages/flask_restful/”, line 458, in wrapper
    resp = resource(*args, **kwargs)
    File “/usr/local/lib/python3.7/site-packages/flask_login/”, line 261, in decorated_view
    return func(*args, **kwargs)
    File “/usr/local/lib/python3.7/site-packages/flask/”, line 89, in view
    return self.dispatch_request(*args, **kwargs)
    File “/app/redash/handlers/”, line 33, in dispatch_request
    return super(BaseResource, self).dispatch_request(*args, **kwargs)
    File “/usr/local/lib/python3.7/site-packages/flask_restful/”, line 573, in dispatch_request
    resp = meth(*args, **kwargs)
    File “/app/redash/handlers/”, line 445, in get
    job = Job.fetch(job_id)
    File “/usr/local/lib/python3.7/site-packages/rq/”, line 288, in fetch
    File “/usr/local/lib/python3.7/site-packages/rq/”, line 461, in refresh
    raise NoSuchJobError(‘No such job: {0}’.format(self.key))
    rq.exceptions.NoSuchJobError: No such job: b’rq:job:fffd1992-c3bd-48c2-96ac-3c258d07c226’