-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Error while ingesting data.
I ran these commands:
docker exec -it haa-ingestion /bin/bashpython3 ingest.py
Version observed: commit: 5b91e00
URL https://stage.hapi-humdata-org.ahconu.org//api/v1/metadata/currency/?limit=1000&offset=1000&app_identifier=ZGF0YS1yZWNpcGVzLWFpLXN0YzpuaWNob2xhcy5kcmFib3dza2lAc2F2ZXRoZWNoaWxkcmVuLm9yZw%3D%3D [] 127 0 127 Before DF 127 After DF Saved ./api/hapi//api_v1_metadata_currency.csv /api/v1/util/version https://stage.hapi-humdata-org.ahconu.org//api/v1/util/version URL https://stage.hapi-humdata-org.ahconu.org//api/v1/util/version/?limit=1000&offset=0&app_identifier=ZGF0YS1yZWNpcGVzLWFpLXN0YzpuaWNob2xhcy5kcmFib3dza2lAc2F2ZXRoZWNoaWxkcmVuLm9yZw%3D%3D Traceback (most recent call last): File "/app/ingest.py", line 432, in <module> main() File "/app/ingest.py", line 408, in main download_openapi_data( File "/app/ingest.py", line 128, in download_openapi_data output = get_api_data(url, query, data_node) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/ingest.py", line 70, in get_api_data data = data[data_node] ~~~~^^^^^^^^^^^ KeyError: 'data' root@48ee003f3007:/app#