Troubleshoot Events
Important
The Buy with Prime API is offered as a preview and might change as we receive feedback and iterate on the interfaces. We are sharing this early documentation to help you learn about the Buy with Prime API as we write and iterate on the content.
This topic describes errors that you can encounter when you Subscribe to Events.
Errors creating subscriptions
The following errors can occur when you call the createEventSubscription
mutation.
Error Type | Error Code | Description | Suggested Action |
---|---|---|---|
AccessDeniedError | N/A | You don't have sufficient access to perform this action. |
|
ValidationError | DestinationNameAlreadyExists | The provided Amazon Partner Event Source name already exists. | The partner event source name must be globally unique. Use a different partnerEventSource name in the call to the createEventSubscription . |
ValidationError | SubscriptionAlreadyExists | You attempted to create a subscription with the same event types and the same destination as an existing subscription. | Make another request to the createEventSubscription mutation and exclude the event types that you provided in the failed request. |
Errors deleting subscriptions
The following errors can occur when you call the deleteEventSubscription
mutation.
Error Type | Error Code | Description | Suggested Action |
---|---|---|---|
AccessDeniedError | N/A | You don't have sufficient access to perform this action. |
|
Errors getting a subscription
The following errors can occur when you call the eventSubscription
query.
Error Type | Error Code | Description | Suggested Action |
---|---|---|---|
AccessDeniedError | N/A | You don't have sufficient access to perform this action. |
|
Errors listing subscriptions
The following errors can occur when you call the eventSubscriptions
query.
Error Type | Error Code | Description | Suggested Action |
---|---|---|---|
AccessDeniedError | N/A | You don't have sufficient access to perform this action. |
|
Related topics
Updated about 16 hours ago