-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
searchCatalogItems returns a 403 Forbidden response #683
Comments
Does this work for you? I think you have some arguments out of order, and the csv string changed to an array. $answers = $catApi->searchCatalogItems(
marketplaceIds: [$amazon->prefs['amazon-MARKETPLACE_ID']],
identifiers: ['8804777427'],
includedData: ['salesRanks', 'identifiers', 'summaries']
); |
You are right. And: I will, starting from now, start to explicitly state the name of the parameter for every API call, because many need a bazillion and it's way too simple to mix things (PHPStorms helps but does not solve the issue, at least in my case). Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
name: searchCatalogItems returns a 403 Forbidden response
about: API call which worked under v5 of the library fails under v6.0.4
title: ''
labels: ''
assignees: ''
Problem description:
I am porting my code from v5 to v6 of the library, line by line.
It's mostly boring work, and I found no issues worth of the name but this.
The snippet of code I'm pasting just looks for an item by EAN in the Amazon catalog. It works under v5.
v5 code:
Error:
Code
The text was updated successfully, but these errors were encountered: