question

silicon-tech avatar image
0 Likes"
silicon-tech asked ·

errorif 1100 on gettrafficreport

Hi

on Analytics API on gettrafficreport on api explorer when i am trying to execute the command i get errorId": 1100.
OAuth is ok, system pulls oAuth when pressing
Get OAuth User Token. But i get this error message about insufficient premisions.


{

"errors": [

{

"errorId": 1100,

"domain": "ACCESS",

"category": "REQUEST",

"message": "Access denied",

"longMessage": "Insufficient permissions to fulfill the request."


Any help would be appreciated.

traffic report
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.

sanjiv_developersupport avatar image
0 Likes"
sanjiv_developersupport answered ·
Hi @silicon-tech,
For security, a User access token is short-lived. However, a Refresh token is long-lived and you can use it to renew a User access token after the token expires.
Please refer to the below docs for more details:
https://developer.ebay.com/api-docs/static/oauth-refresh-token-request.html
https://developer.ebay.com/api-docs/static/oauth-consent-request.html


Best Regards

eBay Developer Support


· Share
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.

silicon-tech avatar image
0 Likes"
silicon-tech answered ·

hi
thank you for your time

#issue 1

https://api.ebay.com/oauth/api_scope/sell.analytics.readonly yes it is available
I am clicking on the " Get OAuth User Token " link to get a token but it redirects my ebay account to grand access, then i login to my account, get user token and works fine.
But here the problem is that i need to give my app developer my ebay account credentials that means that he will have access to all my ebay items, sales, customers and so on. This is something that i need to avoid. Any help on that?

#Issue 2

We need also to generate Oauth token to be used by our system permanently. The Oauth token generated currently expires in couple of hours and thus, need a solution to generate the token automatically and used by the 3rd party system. Please let us know the ways to implement this.

· Share
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.

vertika_developersupport avatar image
0 Likes"
vertika_developersupport answered ·

Hi @silicon-tech,


Check your Application Keys page(https://developer.ebay.com/my/keys) for a list of OAuth scopes available to your application and check whether https://api.ebay.com/oauth/api_scope/sell.analytics.readonly scope is available to your application or not.
Note: GetTrafficReports call requires user token. Please click on Get OAuth User Token to generate user token.
If you need any further assistance regarding this please let us know.

Best Regards,
eBay Developer Support

· Share
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.

fanvouts avatar image
0 Likes"
fanvouts answered ·

Can you please guide me on how i will

" Please make sure that you are including https://api.ebay.com/oauth/api_scope/sell.analytics.readonlyscope while generating token "


As i am generating the token from " Get OAuth Application Token "

on ebay api explorer page?

· Share
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.

vertika_developersupport avatar image
0 Likes"
vertika_developersupport answered ·

Hi @silicon-tech,

Please make sure that you are including https://api.ebay.com/oauth/api_scope/sell.analytics.readonly scope while generating token. Check your Application Keys page for a list of OAuth scopes available to your application.
If issue still persists please submit a technical support request here - https://developer.ebay.com/my/support/tickets as more details of your developer account are required to triage this issue.

Best Regards,
eBay Developer Support

· Share
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.

silicon-tech avatar image
0 Likes"
silicon-tech answered ·

HI

same problem

here is the Web Service URI (endpoint) with date range 20200101..20200102


https://api.ebay.com/sell/analytics/v1/traffic_report?filter=marketplace_ids:%7BEBAY_US%7D,date_range:%5B20201001..20201002%5D&dimension=day&metric=LISTING_IMPRESSION_SEARCH_RESULTS_PAGE,LISTING_IMPRESSION_STORE,LISTING_IMPRESSION_TOTAL,LISTING_VIEWS_SOURCE_SEARCH_RESULTS_PAGE,LISTING_VIEWS_SOURCE_STORE,LISTING_VIEWS_SOURCE_DIRECT,LISTING_VIEWS_TOTAL,TRANSACTION,CLICK_THROUGH_RATE,SALES_CONVERSION_RATE


For your reference

rlogid:t6pitusquq%60%3F%3Ckuvukqwvspse*5ia1h%28rbpv670%3D-17504585b60-0x126

Also attached there is a screenshot of the problem


You need also to know while testing different dates, for one time worked but cant remember the date i tried.

· Share
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.

vertika_developersupport avatar image
0 Likes"
vertika_developersupport answered ·

Hi @silicon-tech,


We checked the Log and found that the start date you passed in the request is too far from the past. The start date must be greater than or equal to 20171007.
Please retry the call with valid start date and if issue still persists please let us know.

Best Regards,
eBay Developer Support

· Share
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.

silicon-tech avatar image
0 Likes"
silicon-tech answered ·

hi her it is

rlogid:t6pitusquq%60%3F%3Ctofukqwvspse*5v%7Etr%28rbpv6770-174fe7eef74-0x133

· Share
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.

eram_developersupport avatar image
0 Likes"
eram_developersupport answered ·

Hi @silicon-tech,


Could you please attached RlogID so that we can explore the reason of the issue.


Best Regards,


eBay Developer Support

· Share
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.