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

NoneType Error when trying to access Datacube results #3

Open
bo-lu opened this issue Jun 17, 2024 · 0 comments
Open

NoneType Error when trying to access Datacube results #3

bo-lu opened this issue Jun 17, 2024 · 0 comments
Assignees

Comments

@bo-lu
Copy link
Member

bo-lu commented Jun 17, 2024

When trying to access the path:
/collections/canadian-geospatial-platform/items/ccmeo-canadian-wetland-inventory-v3?lang=en

I get the following error:

File "/var/task/pygeoapi/provider/cgp.py", line 219, in _filter_null
for key, val in item.items():
AttributeError: 'NoneType' object has no attribute 'items'

It seems to be coming from:
f2f74b0

Can you please add some Error handling so that the error is properly handled.

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

No branches or pull requests

2 participants