question

missedtheboat70 avatar image
0 Likes"
missedtheboat70 asked

Insufficient Permissions Bulk Migrate Listing

Hi! I am able to log in to my account via my app. I am able to obtain a user token successfully (The tokens are truncated for brevity)

{
'access_token': 'v^1.####### access token #####',
'expires_in': 7200,
'refresh_token': 'v^1.#### refresh token #####',
'refresh_token_expires_in': 47304000,
'token_type': 'User Access Token',
'success': True
}

Calling /inventory/v1/inventory_item returns 200 response though no listings as I need to migrate the listings.

I only have a few listings that I made sure meet the bulk migration requirements but when I make the call to inventory/v1/bulk_migrate_listing I get this error:

*** migrated ***
status-code: 403
text: {"errors":[{"errorId":1100,"domain":"ACCESS","category":"REQUEST","message":"Access denied","longMessage":"Insufficient permissions to fulfill the request."}]}


Here are my scopes:

https://api.ebay.com/oauth/api_scope https://api.ebay.com/oauth/api_scope/sell.inventory https://api.ebay.com/oauth/api_scope/sell.inventory.readonly

I tried using only https://api.ebay.com/oauth/api_scope/sell.inventory but I get the same error.

Headers:

{

"Authorization": "Bearer <user_token>",

"Content-Type": "application/json"

}

Any help would be greatly appreciated! Thanks - Curt

bulkmigatelisting error 1100
· 2
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

never never never ever post any token here!!!!
0 Likes 0 ·

Duly noted.

0 Likes 0 ·

1 Answer

· Write an Answer
missedtheboat70 avatar image
0 Likes"
missedtheboat70 answered

Fixed it! My scopes weren't defined correctly.

10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.