question

mymusiclife-id avatar image
1 Like"
mymusiclife-id asked

Why I cant refresh the user token I have?

Good day, Here's the scope I used when getting the authorization code https%3A%2F% 2Fapi.ebay.com%2Foauth%2Fapi_scope%2Fsell.inventory%20https%3A%2F% 2Fapi.ebay.com%2Foauth%2Fapi_scope%2Fsell.account%20https%3A%2F% 2Fapi.ebay.com%2Foauth%2Fapi_scope%2Fsell.fulfillment, that was the same scope I used when trying to refresh the token but it always says {"error":"invalid_scope","error_description":"The requested scope is invalid, unknown, malformed, or exceeds the scope granted to the client"}, I mean why I', getting this error? what was the correct form or proper scope for a user to have a full access on the application I made? I need to refresh the user access token because it only last 2 hours and I can't do that. Why? please help.
refresh token rest api
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.

1 Answer

· Write an Answer
genichm avatar image
0 Likes"
genichm answered
Hi @mymusiclife-id I configured out that list of scopes should not be URL encoded, send it like https://api.ebay.com/oauth/api_scope https://api.ebay.com/oauth/api_scope/sell.marketing.readonly .... with blank spaces as the separator, it was the source of the error in my case.
· 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.

Worked for me, thanks!
0 Likes 0 ·

Hello @genichm, I have added like this only but it shows the same error.

0 Likes 0 ·

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.