Insufficient permissions/scopes on RESTful API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2023 12:36 PM
1. Configure Platform Notifications (push) on a web server
I tried to add a URL via developer.ebay.com, but when clicking on the "save" button of the "Platform Notifications (push)" form, I get this error: Something went wrong. Please try again later.
I then tried to use the "(Commerce Apis/Notification Apis) createSubscription" function with these parameters:
{
"topicId": "ITEM_AVAILABILITY",
"status": "ENABLED",
"destinationId": "[my_already_created_destination_id]",
"payload": {
"format": "JSON",
"schemaVersion": "1.0",
"deliveryProtocol": "HTTPS"
}
}
{
"errors": [
{
"errorId": 195011,
"domain": "API_NOTIFICATION",
"category": "REQUEST",
"message": "Not authorized for this topic."
}
]
}
{
"errors": [
{
"errorId": 75015,
"domain": "API_CATALOG",
"category": "REQUEST",
"message": "Insufficient permissions to fulfill the request."
}
]
}
* I get the same error messages using the API Explorer tool or my own application.
* The URL of "my_already_created_destination_id" is publicly accessible and was created via the "Marketplace Account Deletion" form in the developer.ebay.com interface. Saving this URL was validated the first time with the challenge_code. However, if I click "Send Test Notification", I receive the following error:
Notification delivery failed with HTTP status code 404 from [my_publicly_accessible_url]. Please ensure that the marketplace account deletion notification endpoint is ready to receive notifications.
So I'm also not sure that this section is configured correctly either.
Insufficient permissions/scopes on RESTful API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2024 03:21 AM
I am also facing the same issue , does anyone knows the solution
Insufficient permissions/scopes on RESTful API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2024 05:12 AM
I have tried to explain it here, see if it helps.
https://github.com/CMS365-PTY-LTD/EbaySharp?tab=readme-ov-file#access-and-security
https://github.com/CMS365-PTY-LTD/EbaySharp
