question

phengineer_0 avatar image
0 Likes"
phengineer_0 asked

Getting Insufficient permissions to fulfill the request. (Even using user token for request on ebay test-tool) ?

I want to place an order using ebay rest api, but on using https://developer.ebay.com/DevZone/build-test/test-tool/default.aspx?index=0&api=order&call=checkout_session_initiate__POST&variation=json&env=production i am getting error { "errors": [ { "errorId": 1100, "domain": "ACCESS", "category": "REQUEST", "message": "Access denied", "longMessage": "Insufficient permissions to fulfill the request." } ] } I don't know what's wrong if somebody tell me i'll be very thankful. Appreciate any help!
buyrest call
10 |600

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

shulmani_developer.support avatar image
0 Likes"
shulmani_developer.support answered
Hi, As per the error message : -The OAuth Application Token is not generated with the correct scopes to make the guest checkout session call. Are you making the call from API Explorer: https://developer.ebay.com/signin?return_to=%2Fmy%2Fapi_test_tool ? Make sure you use the OAuth Application token and not the OAuth user token as the guest checkout session calls can be made only with the OAuth Application token: https://developer.ebay.com/api-docs/static/oauth-app-token.html Hope the above helps. Cheers!!!
10 |600

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

loravel avatar image
0 Likes"
loravel answered
It does not work for me. I do as you said but it does not work. {"errors":[{"errorId":1100,"domain":"ACCESS","category":"REQUEST","message":"Access denied","longMessage":"Insufficient permissions to fulfill the request."}]} https://youtu.be/757KAHJVyGk
10 |600

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

curtis_developersprogram avatar image
0 Likes"
curtis_developersprogram answered
Hi loravel, The Order API is not available to all users in production. Have you confirmed that your production application credentials have the scope required to make the call (*/oauth/api_scope/buy.order)? If you do not have the scope, you will need to apply for access. Please see [Production eligibility requirements][1] and the [Production access process][2] sections of the eBay Buying Integration Guide for more information about getting access to the Order API in production. However, as noted in the documentation, meeting the standard eligibility requirements is not a guarantee that production access will be granted. I hope this is helpful. Regards, Curtis eBay Developers Program [1]: https://developer.ebay.com/api-docs/buy/static/buy-requirements.html#ProductionReq [2]: https://developer.ebay.com/api-docs/buy/static/buy-requirements.html#Applying
· 1
10 |600

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

Hello. No, I was not registered in the partner program, due to the fact that I needed only to sell products, not to buy.
0 Likes 0 ·
curtis_developersprogram avatar image
0 Likes"
curtis_developersprogram answered
Hi loravel, Got it. My mistake, I assumed that you wanted access to the Buy APIs, since you were trying to use the Order API and posted in the Buy APIs forum. With the standard OAuth scopes, your production application has permissions to use the following eBay Sell and Commerce APIs: - Account API - Inventory API - Fulfillment API - Marketing API - Analytics API - Metadata API - Compliance API - Taxonomy API - Catalog API Check out the [Selling Integration Guide][1] for information to help you figure out which APIs to use. Regards, Curtis eBay Developers Program [1]: https://developer.ebay.com/api-docs/sell/static/selling-ig-landing.html
10 |600

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

loravel avatar image
0 Likes"
loravel answered
10 |600

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

anangy0 avatar image
0 Likes"
anangy0 answered
10 |600

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.