createSubscription error 195011 Not authorized for this topic.
Summary: joeroo_74 is experiencing a 195011 error when attempting to use the createSubscription API, despite successfully calling other APIs and creating destinations. They've tried various payloads and OAuth scopes, but the error persists across different topics and both app-level and user-level subscriptions. The uniformity of the error, even with a testing harness, suggests it may be related to notification subscription configuration or prerequisite requirements not apparent in the OAuth scopes. They are seeking insights into potential causes or additional requirements for the createSubscription process.
I am trying to subscribe to notifications using the createSubscription.
I have been able to call other APIs, I've been able to create a destination. However, every time I try to use the create subscriptions I get a 195011 error. Regardless if it is scoped to app or user level.
Scopes used creating the token:
joeroo_74
I also have the same question, especially because the other APIs and destination creation are working successfully, which makes the
195011error fromcreateSubscriptionparticularly confusing. Since the same error occurs for both an app-level and user-level subscription, and also appears when using the testing harness as well as the actual code, it seems less likely that the issue is simply related to the implementation in the application. I would be interested in knowing whether error195011can be caused by something specific to the notification subscription configuration, such as the destination status, topic availability, marketplace, or the way the destination was created. The fact that bothMARKETPLACE_ACCOUNT_DELETIONandITEM_AVAILABILITYproduce the same result is also useful information, because it suggests the problem may be happening before eBay gets as far as validating an individual topic.I also have the same question about whether there are any additional prerequisites for
createSubscriptionthat are not obvious from the OAuth scopes alone. The token appears to include the commerce notification subscription scopes, but I would be curious whether the application itself needs some separate enablement or approval before subscriptions can be created. I would also check that the destination being referenced is in the same environment and application context as the token being used, since a valid destination ID by itself may not guarantee that it can be used for that particular subscription. Since the testing harness reproduces the same error, I think the most useful information would be the exact195011error description returned by the API and whether the destination can be successfully retrieved or validated immediately before callingcreateSubscription. That might help distinguish an authorization/configuration restriction from a problem with the request payload.zahuynh
Nevermind I've fixed it, the initial access token's scope was correct but for subsequent access token minted from refresh token, I set the scope wrongly, had to modify the scope variable, chatgpt made the mess and it helped me clear the mess.
scope = ["https://api.ebay.com/oauth/api_scope", #Forgot to include those 2 below
"https://api.ebay.com/oauth/api_scope/sell.marketing.readonly",
"https://api.ebay.com/oauth/api_scope/sell.marketing"]
scope_str = " ".join(scope)
data = {
"grant_type": "refresh_token",
"refresh_token": CONFIG_DATA["refresh_token"],
"scope": scope_str
}
zahuynh
2026, anybody solved the issue? I've checked the scopes in my html login page's url (the https://auth.ebay.com/oauth2/authorize .....) , and can subscribe to any other notifications (like the "Feedback"-ish notifications), but can't for those with scope requirements.
marks-uhren
According to the response from https://developer.ebay.com/api-docs/commerce/notification/resources/topic/methods/getTopics we need an application token which we have. The response also contains the following:
But when I add this scope to the token request, I'm getting "The requested scope is invalid, unknown, malformed, or exceeds the scope granted to the client" as a response. With just
marks-uhren
We're having the exact same issue. No matter wether we use client credentials or authorization code grant flow... we can create destinations, list subscriptions but not subscribe to ITEM_AVAILABILITY.
shisha_9154
Use Application Token created using client credentials grant flow to getsubscription and createsubscription for scope application.
an-57470
I am also getting the same issue "Not Authorized",
Did someone has solution for it?
ks-gruppe21
did you solve the issue meanwhile?
ldk_luk
I get the same issue, the docs are confusing