Jameson
Jameson

Reputation: 1

Advertising API issue :error_description=An+unknown+scope+was+requested&error=invalid_scope

My purpose is to download the advertising report, but I encounter Advertising API issue on below step 4 of Authorization. I should get the authorization code but get below screen-shot error message

‘error_description=An+unknown+scope+was+requested&error=invalid_scope’

rather than the authorization code .

URL:

https://www.amazon.com/ap/oa?client_id=YOUR_LWA_CLIENT_ID
    &scope=cpc_advertising:campaign_management&response_type=code
    &redirect_uri=YOUR_RETURN_URL

by the way, this account also is the seller account and has approvaled the advertising API access, what should I do, thanks!

Amazon advertising API url:enter link description herehttps://advertising.amazon.com/API/docs/v2/guides/authorization

Upvotes: 0

Views: 2293

Answers (2)

Smile
Smile

Reputation: 1

Amazon send you a email, you need to finish the step 2 then visit the url.

Upvotes: 0

Ganesh Krishnan
Ganesh Krishnan

Reputation: 7395

This happens when the client (for that application within amazon ads) is not whitelisted for Amazon ads.

Create a support ticket requesting your app to be whitelisted.

Upvotes: 1

Related Questions