-
Notifications
You must be signed in to change notification settings - Fork 13
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
KeyError when retrieving "bulkOperation " #54
Milestone
Comments
chisou
pushed a commit
that referenced
this issue
Jun 4, 2024
chisou
pushed a commit
that referenced
this issue
Jul 2, 2024
chisou
added a commit
that referenced
this issue
Aug 1, 2024
Co-authored-by: Christoph Souris <christoph.souris@softwareag.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`def getOperation():
Hi Chris,
Hope you are well!
when I tried to run the above code to get "Bulk Operation" from Cumulocity, I encountered the below KeyError.
It looks to me the problem is:
The key in the API response is: "bulkOperations" with capital "O".
But "_get_page
return result_json[self.object_name]" is using "bulkoperations" as the key, with the lower case "o"
Hence the KeyError exception happened.
Regards
Henry
The text was updated successfully, but these errors were encountered: