-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access to requested resource is denied. #615
Comments
@SepuWeb did you ever get this sorted? |
no, in the end I switched to the official Amazon SDK. |
This sucks. I'm having a similiar issue with calling I'd be nervous working on a PR too, as @jlevers doesn't seem to have looked at this repo in a few months. |
correct, gentlemen.. I am having the same permissions issue trying to use RDT. I can actually get it to at least successfully generate and return an RDT now, but what am I supposed to do with it? Just simply calling a RDT report straight afterwards doesn't seem to automagically send the correct access token (the RDT) as I was hoping, so I am lost. Do I need to generate the RDT, then somehow tell the SDK to use it instead of normal access token? Do I simply pass it in the config array? in /lib/Authentication.php, there is the getRestrictedDataToken method I call to successfully generate the RDT, and it appears to just pass it back, so I am stuck with how to use it after generating :( in official docs, it says the RDT needs to be passed in the x-amz-access-token header, in place of the usual LWA token - ok, but using this library, how do we do that??? any suggestions or solutions would be greatly appreciated! thanks |
Problem description:
Error:
errors": [ { "code": "Unauthorized", "message": "Access to requested resource is denied.", "details": "" } ] }
If I call VendorOrdersV1Api->getPurchaseOrders it works, so all security and rule and configuration are wright.
If I call these methods:
CatalogItemsV20220401Api->getCatalogItem
CatalogItemsV0Api->getCatalogItem
VendorDirectFulfillmentOrdersV20211228Api->getOrders
return the error:
{ "code": "Unauthorized", "message": "Access to requested resource is denied.", "details": "" }
Code
Seller Central SP API config page screenshot
your screenshot here
The text was updated successfully, but these errors were encountered: