KeyError: 'includedData' #1131
-
Hello everyone! I am very new to Python and coding in general and I'm trying to wrap my head around this program I am trying to make. I did not write the bulk of the code myself and instead got the majority of the code from a youtube video. However, I have put some time in trying to understand it and work through the problem before coming here. I was able to get the sample code from the video working and was able to populate a google sheet with my past orders. After trying to alter the code for my intended use, (which is to pull Amazon Catalog data) I can not get it to work. When attempting to compile the code i get:"KeyError: 'includedData'" on this line: Thank you and here is the code:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
It seems like the error may be originating from the AmazonCatalog class. I couldn’t find anything that would likely cause this issue in the code here. Let me know if there’s anything else I can help with! |
Beta Was this translation helpful? Give feedback.
-
@rigelethan This issue should hopefully be fixed on the master branch. @saleweaver It would be really useful if there was a pypi release with this fix. |
Beta Was this translation helpful? Give feedback.
-
I also had the same problem, luckily I found a solution
|
Beta Was this translation helpful? Give feedback.
I also had the same problem, luckily I found a solution
Declare includedData kwargs
catalog.get_catalog_item(asin=asin, includedData="summaries")