Error 195011 "Not authorized for this topic" when creating subscription for OFFER_ACTIVITY
Subject: Error 195011 "Not authorized for this topic" when creating subscription for OFFER_ACTIVITY
Hi everyone,
I am attempting to create a notification subscription for the topic OFFER_ACTIVITY using the eBay Notification API endpoint:
POST https://api.ebay.com/commerce/notification/v1/subscription
However, when passing the seller's Authorization Code Grant User Access Token, I receive the following error response:
{
"errors": [
{
"errorId": 195011,
"domain": "API_NOTIFICATION",
"category": "REQUEST",
"message": "Not authorized for this topic."
}
]
}
### Request Details
- Endpoint: POST https://api.ebay.com/commerce/notification/v1/subscription
- Request Body:
{
"destinationId": "xxxxxxxxxxx",
"payload": {
"deliveryProtocol": "HTTPS",
"format": "JSON",
"schemaVersion": "1.0"
},
"status": "ENABLED",
"topicId": "OFFER_ACTIVITY"
}
### Currently Authorized Scopes in My App:
- https://api.ebay.com/oauth/api_scope
- https://api.ebay.com/oauth/api_scope/sell.fulfillment
- https://api.ebay.com/oauth/api_scope/sell.fulfillment.readonly
- https://api.ebay.com/oauth/api_scope/sell.finances
- https://api.ebay.com/oauth/api_scope/commerce.notification.subscription
- https://api.ebay.com/oauth/api_scope/commerce.identity.readonly
### Context:
When retrieving the available topics via GET https://api.ebay.com/commerce/notification/v1/topic, OFFER_ACTIVITY requires specific authorization scopes that do not seem to be covered by my current scope set.
Could anyone clarify which specific OAuth scope(s) I need to request from the seller during user authorization to successfully subscribe to the OFFER_ACTIVITY topic?
Thank you for your help!