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

500 errors on granules #140

Open
rsmith013 opened this issue Aug 25, 2021 · 1 comment · May be fixed by #143
Open

500 errors on granules #140

rsmith013 opened this issue Aug 25, 2021 · 1 comment · May be fixed by #143
Assignees

Comments

@rsmith013
Copy link

http://127.0.0.1:8000/opensearch/request?parentIdentifier=f1ab07b5292f4813bd3090b51d270aa8&startPage=1&maximumRecords=20&httpAccept=application%2Fgeo%2Bjson&drsId=esacci.CLOUD.mon.L3C.CLD_PRODUCTS.MODIS.Terra.MODIS_TERRA.2-0.r1

AttributeError at /opensearch/request
'list' object has no attribute 'get'

Request Method: | GET
-- | --
http://127.0.0.1:8000/opensearch/request?parentIdentifier=f1ab07b5292f4813bd3090b51d270aa8&startPage=1&maximumRecords=20&httpAccept=application%2Fgeo%2Bjson&drsId=esacci.CLOUD.mon.L3C.CLD_PRODUCTS.MODIS.Terra.MODIS_TERRA.2-0.r1
2.2.24
AttributeError
'list' object has no attribute 'get'
/Users/vdn73631/Documents/dev/CCI_KE_PROJECT/opensearch2/ceda_opensearch/django_opensearch/opensearch/backends/elasticsearch/facets/cci.py in <listcomp>, line 160

@rsmith013
Copy link
Author

This is an issue with the data structure. Should figure out what the issue is here rather than try to accommodate it.
https://docs.google.com/document/d/1rHwXLKmCHvhCZdGa2WvKty5FhvltnEly3xf4McwjuWs/edit?usp=drive_web&ouid=101480036514641043323

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

Successfully merging a pull request may close this issue.

2 participants