double-break / spapi-php

Amazon Selling Partner API PHP Client
MIT License
56 stars 48 forks source link

Assume Role error #45

Closed ErAmar closed 2 years ago

ErAmar commented 2 years ago

Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: POST https://sts.amazonaws.com/ resulted in a 403 Forbidden response: {"Error":{"Code":"AccessDenied","Message":"Roles may not be assumed by root accounts.","Type":"Sender"},"RequestId":"9db (truncated...)

lyubo-slavilov commented 2 years ago

It seems it is not bug in the library, but your setup seems wrong. I can not help with that