Closed jlevers closed 3 years ago
You're most likely using a grantless request when a granted request is required.
You're absolutely right -- I incorrectly thought that all the Notifications actions were grantless, but createSubscription
and getSubscription
are not. Thank you!
Where to authorize createSubscription and getSubscription ?
Where to authorize createSubscription and getSubscription ?
Please read these doc to find the answer: https://developer-docs.amazon.com/sp-api/docs/grantless-operations https://developer-docs.amazon.com/sp-api/docs/connecting-to-the-selling-partner-api-using-a-generated-java-sdk#step-1-configure-your-lwa-credentials
I'm trying to set up
REPORT_PROCESSING_FINISHED
notifications, but since it isn't specified in the Notifications Use Case guide whether that notification is handled by SQS or EventBridge, I'm testing my SQS setup by trying to getFBA_OUTBOUND_SHIPMENT_STATUS
notifications.I'm able to create a destination with
createDestination
just fine, and can view/delete the destinations I create viagetDestinations
anddeleteDestination
. But when I go to create a subscription withcreateSubscription
, I get a403 Unauthorized
error. I also get that error when I callgetSubscription
.I've tried accessing the
createSubscription
/getSubscription
endpoints with multiple different sets of credentials, and both via PHP and Java. I'm also pretty sure my SQS config is correct, but here it is, just in case:If anyone knows what might be causing this, I'd really appreciate the help. Thanks!