KeyError when visiting Outdated Queries page

Issue Summary

When I visit the Outdated Queries section, I see an error as below

It seems like we encountered an error. Try refreshing this page or contact your administrator.


error in logs:

2020-11-09 14:07:09,649][PID:50][ERROR][] Exception on /api/admin/queries/outdated [GET]
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/flask/”, line 2446, in wsgi_app
response = self.full_dispatch_request()
File “/usr/local/lib/python3.7/site-packages/flask/”, line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/local/lib/python3.7/site-packages/flask_restful/”, line 269, in error_router
return original_handler(e)
File “/usr/local/lib/python3.7/site-packages/flask/”, line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/local/lib/python3.7/site-packages/flask/”, line 39, in reraise
raise value
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 “/app/redash/”, line 71, in decorated
return fn(*args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/flask_login/”, line 261, in decorated_view
return func(*args, **kwargs)
File “/app/redash/handlers/”, line 39, in outdated_queries
“updated_at”: manager_status[“last_refresh_at”],
KeyError: ‘last_refresh_at’

KeyError: 'last_refresh_at'

Can you point me to any possible solution for this error?

Technical details:

  • Redash Version: 9.0.0-beta.b42121
  • Browser/OS: Chrome:macOS
  • How did you install Redash: docker containers in AWS ECS