Skip to content

search_catalog_items returns error when includedData='attributes' is present #787

Closed

Description

@Foxtrot0711

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'

Activity

  1. added
    bug
    on Nov 3, 2022
  2. Repository owner locked and limited conversation to collaborators on Nov 16, 2022
  3. converted this issue into a discussion #803 on Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions