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
KeyError
KeyError: 'catalogItems'
Traceback (most recent call last)
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1536, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1514, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/pygeoapi/pygeoapi/flask_app.py", line 505, in get_collection_edr_query
return execute_from_flask(
File "/pygeoapi/pygeoapi/flask_app.py", line 148, in execute_from_flask
headers, status, content = api_function(actual_api, api_request, *args)
File "/pygeoapi/pygeoapi/api/environmental_data_retrieval.py", line 377, in get_collection_edr_query
data = p.query(**query_args)
File "/pygeoapi/pygeoapi/provider/base_edr.py", line 107, in query
return getattr(self, kwargs.get('query_type'))(**kwargs)
File "/pygeoapi/rise/rise_edr.py", line 116, in locations
return CovJSONBuilder(self.cache).render(response, datetime_)
File "/pygeoapi/rise/covjson.py", line 262, in render
response_with_data = self.get_location_response_with_results(
File "/pygeoapi/rise/covjson.py", line 186, in get_location_response_with_results
location["relationships"]["catalogItems"]["data"]
KeyError: 'catalogItems'
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.
You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:
dump() shows all variables in the frame
dump(obj) dumps all that's known about the object
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: