question

Tyeth avatar image
Tyeth asked

Same problem as others in last few days: invalid scope error

https://www.amazon.com/ap/oa?client_id=amzn1.application-oa2-client.6ece4f138f8c4a81bc904a0ec9b4018c≻ope=dash%3Areplenish≻ope_data=%7B%22dash%3Areplenish%22%3A%7B%22device_model%22%3A%22WCPAPER002%22%2C%22serial%22%3A%22wcpaper002001%22%7D%7D&response_type=code&redirect_uri=https%3A%2F%2Ftyeth.github.io%2FSmartDrawer%2Fredirect

Trying to similarly resolve the invalid scope issue....I get redirected but with error message in redirect URL.

If I change the second dash%3Areplenish with dash_replenish, it responds with error in scope data list as other people have mentioned, rather than the invalid scope error.

Any ideas? It sounds like you guys are manually enabling accounts, is this the case?

apilogin with amazondash replenishment servicewhitelist
3 comments
10 |5000

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

everytime I paste it in it cocks up due to &sc being replaced with >, basically replace the >ope with &scope
notice there are two of them
0 Likes 0 ·

it seems there is issue with URL encoding ,There is some websites with coverts standard URL to UTF-8 format

and checkout my project on hackster you will get some help

http://www.url-encode-decode.com/

0 Likes 0 ·
Brian@Amazon avatar image
Brian@Amazon answered

Hello Tyeth, I'm looking into this.

10 |5000

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

Brian@Amazon avatar image
Brian@Amazon answered

Make sure to use the dash:replenish, not dash_replenish, scope.

Also the url should be formatted as follows.

https://www.amazon.com/ap/oa?client_id=amzn1.application-oa2-client.6ece4f138f8c4a81bc904a0ec9b4018c≻ope=dash%3Areplenish≻ope_data=%7B%22dash%3Areplenish%22%3A%7B%22device_model%22%3A%22WCPAPER002%22%2C%22serial%22%3A%22wcpaper002001%22%7D%7D&response_type=code&redirect_uri=https%3A%2F%2Ftyeth.github.io%2FSmartDrawer%2Fredirect
10 |5000

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