question

J. Seravalli avatar image
J. Seravalli asked

Invalid Scope

I’m working on integrating cloud drive, but I’m running into problems authenticating into the REST API. This is the request I’m making: https://www.amazon.com/ap/oa?response_type=code&client_id=[myclientid]&redirect_uri=[urlencoded]&state=312bf93ab044d55a548a4790a61fc57e1c8c0c3794b1ff7b And this is the response that I get: https://[mylocaldomain]/users/auth/amazon/callback?error_description=lwa-invalid-parameter-bad-scope&state=38113f238de5270baf6d5f103da63e61154f551b7cf3e41a&error=invalid_scope The security profile has been successfully whitelisted by amazon, also if I change the scope to “profile” I successfully get the permissions screen, the problem arises when using the clouddrive scopes ( https://developer.amazon.com/public/apis/experience/cloud-drive/content/getting-started). Any suggestions?
amazon drive
10 |5000

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

lotussea avatar image
lotussea answered
clouddrive:read scope will still work for the applications already using it. New applications will not be able to use older clouddrive:read scope.
10 |5000

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

J. Seravalli avatar image
J. Seravalli answered
Thanks for the info. But that was not my case, I used every scope available on the updated site, my security profile was not whitelisted even though I did received the email saying it was. I just created another security profile and ask for it to be whitelisted ヽ(´ー`)┌
10 |5000

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

Amazon Customer avatar image
Amazon Customer answered
Okay can you link where it says that? "clouddrive:read scope will still work for the applications already using it. New applications will not be able to use older clouddrive:read scope. " If its true then someone really screwed up as all the amazon tutorials use this READ permission.
10 |5000

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