question

newuser-de9c5285-47ac-4269-b9c8-e35bf1f0f6ef avatar image
newuser-de9c5285-47ac-4269-b9c8-e35bf1f0f6ef asked ·

API Security Profile

Good morning, I would like to enable access api to my account but it does not work:

system@iserver:~$ curl -H 'Content-Type: application/json' -d '{"grant_type":"client_credentials","scope":"madp_api:access","client_id":"amzn1.application-oa2-client.420cfe33e2......","client_secret":"60abeaf7ad23b22279cacf2bb6ae01dc8f2a470ac8ffad5..."}' -X POST https://api.amazon.com/auth/o2/token

Error: {"error_description":"The request has an invalid parameter : scope","error":"invalid_scope"}

I tried in all ways without results can you help me?

account linkingapiaccount informationcurl
1 comment
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Where you able to solve this I'm currently having the same issue

0 Likes 0 ·

1 Answer

Levon@Amazon avatar image
Levon@Amazon answered ·
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.