Skip to content

NoneType Error when trying to access Datacube results #3

@bo-lu

Description

@bo-lu

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions