search_catalog_items returns error when includedData='attributes' is present #803
Unanswered
Foxtrot0711
asked this question in
FAQ
Replies: 1 comment 1 reply
-
Any fixes or work arounds for this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
"search_catalog_items" function in 'CatalogItems' Endpoint returns an error when 'attributes' in included in 'includedData'
Error:
[{'code': 'InvalidInput', 'message': "Invalid 'includedData' requested.", 'details': ''}]
but it works fine with "get_catalog_item"
due to
https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-reference#includeddata-subgroup-2
'attributes' is valid for both search_catalog_items and get_catalog_item
To Reproduce
res= client.search_catalog_items (marketplaceIds='A1PA6795UKMFR9', keywords='B01LTHMF1Y', identifiersType='ASIN',includedData='attributes,identifiers,summaries,images,productTypes')
Expected behavior
should not throw an error but return 'attributes' in the result
Desktop (please complete the following information):
Windows 10, python 3.10
Additional context
It would be very nice if 'attributes' would include 'Creator' or 'Artist'
like 'get_item' in the 'Catalog' Endpoint does in 'AttributeSets'
Beta Was this translation helpful? Give feedback.
All reactions