cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Trying to access some of the end points and getting permission error

I am trying to setup the developer api into my app some of the endpoints Browse API works fine, but Feed API, Deal API, Marketing API throwing the below permission error.  Who to contact?.  Thanks.

 

{
"errors": [
{
"errorId": 1100,
"domain": "ACCESS",
"category": "REQUEST",
"message": "Access denied",
"longMessage": "Insufficient permissions to fulfill the request."
}
]
}

Message 1 of 6
latest reply
1 BEST ANSWER

Accepted Solutions

Trying to access some of the end points and getting permission error

@vasudel 

 

I keep supplying the link to this page:

https://developer.ebay.com/api-docs/buy/static/buy-requirements.html#Applying 

Perhaps I need to copy/paste it here, LOL:

 

 

Production access process

The following is the application process for obtaining production access.

  1. If you haven't already, sign up for an eBay Partner Network (EPN) account:
    • Ensure that the information you provide is accurate and be as thorough as possible when completing your application.
    • Read and understand the EPN Policies.
       
  2. Completely fill out and submit the Buy API Application.
    • Reply to the submission confirmation email and include mocks and data flows of your user experience.
    • Within 10 business days, the eBay Partner Network will respond, approving or declining your application.
       
  3. If your business model is approved by the eBay Partner Network, open a support ticket with eBay Developer Support, using "Buy API Production Access (eBay user ID)" in the subject line. In the ticket, include the following:
    • EPN registered eBay user ID
    • Detailed instructions on how to access and test your application in Sandbox
    • The approval email from EPN as an attachment
       
  4. The eBay Developer Support team will initiate the application review/approval process:
    1. eBay Developer Support team reviews the application for compliance
    2. You must make changes as requested by the eBay Support team
    3. When the Support team is satisfied with your app, you are given eBay contracts
    4. Upon return of signed contracts, the eBay Support team enables production access for your application

 

 

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.

View Best Answer in original post

Message 6 of 6
latest reply
5 REPLIES 5

Trying to access some of the end points and getting permission error

@vasudel 

All of those are RESTful APIs.

 

The Browse API and the Marketing API require only the Application Grant flow to access public data.

The application can mint its own tokens every two hours.

https://developer.ebay.com/api-docs/static/oauth-client-credentials-grant.html 

 

APIs that access private data require the Authorization Code Grant flow: 

https://developer.ebay.com/api-docs/static/oauth-authorization-code-grant.html 

This is a 3-part process to access private user data.

  1. A 5-minute authorization is manually granted by the user.
  2. That authorization is converted to a 2-hour access token and an 18-month refresh token.
  3. After two hours, the refresh token must mint a new 2-hour access token.

 

However, some of the Buy APIs that you are trying to use require additional permission from eBay. See the requirements here: 

https://developer.ebay.com/api-docs/buy/static/buy-requirements.html#Applying  

 

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 2 of 6
latest reply

Trying to access some of the end points and getting permission error

@shipscript 

Thanks, first I am just playing around with API explorer then I will integrate all minting the token into the code.

 

API Explorer: https://developer.ebay.com/my/api_test_tool?index=0

 

Why am i not able to access certain end points such as Feed API, Deal API, Marketing API etc throwing error?.  Works fine on sandbox and NOT on production environment.

 

Thanks.

Message 3 of 6
latest reply

Trying to access some of the end points and getting permission error

@vasudel 

Since those APIs are "limited release", they are only available in production once the developer meets certain criteria. The API Explorer allows developer access to most tools within the sandbox; but using the API Explorer in Production mode is the same as actual production, so some APIs will not grant access if limitations are involved.

 

See "Using the APIs in Sandbox" on this page: 

https://developer.ebay.com/api-docs/buy/static/buy-requirements.html#Using 

 

 

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 4 of 6
latest reply

Trying to access some of the end points and getting permission error

@shipscript Thanks for the info, have been playing around in Sandbox for now.  Do you know what are the criteria to get the access in production?.

Message 5 of 6
latest reply

Trying to access some of the end points and getting permission error

@vasudel 

 

I keep supplying the link to this page:

https://developer.ebay.com/api-docs/buy/static/buy-requirements.html#Applying 

Perhaps I need to copy/paste it here, LOL:

 

 

Production access process

The following is the application process for obtaining production access.

  1. If you haven't already, sign up for an eBay Partner Network (EPN) account:
    • Ensure that the information you provide is accurate and be as thorough as possible when completing your application.
    • Read and understand the EPN Policies.
       
  2. Completely fill out and submit the Buy API Application.
    • Reply to the submission confirmation email and include mocks and data flows of your user experience.
    • Within 10 business days, the eBay Partner Network will respond, approving or declining your application.
       
  3. If your business model is approved by the eBay Partner Network, open a support ticket with eBay Developer Support, using "Buy API Production Access (eBay user ID)" in the subject line. In the ticket, include the following:
    • EPN registered eBay user ID
    • Detailed instructions on how to access and test your application in Sandbox
    • The approval email from EPN as an attachment
       
  4. The eBay Developer Support team will initiate the application review/approval process:
    1. eBay Developer Support team reviews the application for compliance
    2. You must make changes as requested by the eBay Support team
    3. When the Support team is satisfied with your app, you are given eBay contracts
    4. Upon return of signed contracts, the eBay Support team enables production access for your application

 

 

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 6 of 6
latest reply