-
Hi, I'm working on connecting to the SP API (via Postman) and to do so I followed this tutorial. I did the Assume Role call, aqquired my AWS access token and then tried to request a simple question from the API. First I got this error:
so I added my LWA Access token as
This is the request: I double checked everything but can't seem to find the problem :/ Do you have an idea what I've done wrong / what I can do to fix this? Many thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Just for reference: The problem was that my sp App was still in sandbox and not in production mode. I fixed it by changing the SPAPI Endpoint from https://sellingpartnerapi-eu.amazon.com to https://sandbox.sellingpartnerapi-eu.amazon.com (or switching to production mode) :) |
Beta Was this translation helpful? Give feedback.
-
Hi @levin2336, The tutorial mentioned is outdated. You don't need AWS credentials or roles to connect to SP-API anymore. Please follow our official documentation via this link. Best, |
Beta Was this translation helpful? Give feedback.
Just for reference: The problem was that my sp App was still in sandbox and not in production mode. I fixed it by changing the SPAPI Endpoint from https://sellingpartnerapi-eu.amazon.com to https://sandbox.sellingpartnerapi-eu.amazon.com (or switching to production mode) :)