[sandbox] API Scope logistics fails when trying to authorize as the authorization code grant flow
Hello everyone,
ENV: sandbox
I'm trying to call POST /shipping_quote request which requires authorisation code grant flow and below scope:
My problem is that when I'm calling authorisation request with above scope, I'm getting to this URL (where we can see the url param "error=invaild_scope"):
and I'm unable to provide my sandbox account detalis to authorise. Also the html looks like the CSS is broken.
When I remove the above token from my authorisation request (but still provide any other scopes which are necessary for my app), then everything works fine - I can login to my sandbox on authorisation request and call some requests works with no errors in response.
Here is the list of scopes which I'm using in my app for authorisation code grant flow with success:
https://api.ebay.com/oauth/api_scope
https://api.ebay.com/oauth/api_scope/sell.inventory.readonly
https://api.ebay.com/oauth/api_scope/sell.inventory
https://api.ebay.com/oauth/api_scope/sell.account.readonly
https://api.ebay.com/oauth/api_scope/sell.account
https://api.ebay.com/oauth/api_scope/sell.finances
https://api.ebay.com/oauth/api_scope/sell.payment.dispute
https://api.ebay.com/oauth/api_scope/sell.fulfillmentAnd here is the API endpoint which also works good.
I'm looking for a help how to solve this error, or maybe some eBay developers are here and they could check is the provided scope supported by API.
Thanks in advance.
Sebastian
jucamejo-0
·1 year agoHello,
I have the same problem. Maybe it's because as mentioned in "https://developer.ebay.com/api-docs/sell/logistics/resources/methods", the API is only available to select developers approved by business units.
I appreciate that you asked the question, and I'm writing because I'm interested in staying updated to find a solution.