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

empty array returned - IndexError: list index out of range #15

Open
mikereiche opened this issue Apr 7, 2022 · 0 comments
Open

empty array returned - IndexError: list index out of range #15

mikereiche opened this issue Apr 7, 2022 · 0 comments

Comments

@mikereiche
Copy link

python3 getClouds.py
2022-04-07 13:57:47,928 - capellaAPI.CapellaAPI - INFO - /v2/status
2022-04-07 13:57:48,349 - capellaAPI.CapellaAPI - INFO - /v2/clouds?perPage=100
2022-04-07 13:57:48,484 - capellaAPI.CapellaAPI - INFO - /v2/clouds?perPage=100
Traceback (most recent call last):
File "/Users/michaelreiche/publicapi/rest-api-examples/python/getClouds.py", line 77, in
main(args)
File "/Users/michaelreiche/publicapi/rest-api-examples/python/getClouds.py", line 47, in main
cloud_table_headings = list_of_clouds['data'][0].keys()
IndexError: list index out of range

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

No branches or pull requests

1 participant