Advertisement API HTTP/1.1 401 Unauthorized



i’m mike and i recently are working the API integration with Amazon Advertisement API, following the instruaction of the, we already get the authorization code, by this code, we also get the access token and refresh token successfully.

When we want to create the profile in the sandbox or when we try to get the profile, we always get one error.

HTTP/1.1 401 Unauthorized

The following is our code example, according to Amazon’s example

for example, the url in the sandbox would be

Request request = Request.Get(url).
.addHeader(“Authorization”,“Bearer”+“Our Access Token”)
.addHeader(“Amazon-Advertising-API-ClientId”, “Our Client ID”).

We will appreciate a lot for any useful info, it’s quite weried. I don’t know how to fix it.

Thank You

Best Regards



Thanks for reaching out.

While requesting for access to Amazon advertising scope,
you must have received access to a JIRA account.

You can use that JIRA account to reach out to Advertising team directly for this query.
Alternatively, you can reply to the onboarding email you received from Amazon advertising.