0

I am migrating from API v1 to API v2 and have this problem here. First i receive the token with this request:

https://api.dropbox.com/oauth2/token

Then i call

https://api.dropboxapi.com/2/users/get_current_account

adding "Authorization: Bearer xxxxxxx" header to get user's display name, but it fails every time with this message:

{protocol=http/1.1, code=400, message=Bad Request, url=https://api.dropboxapi.com/2/users/get_current_account}

The same code with API v1 calls worked just fine. Is there anything i missed? Thanks

1

1 Answer 1

1

Why don't you use a SDK like CloudRail? Then it would be just a function call like documented here

1
  • becasuse it doesn't have all the cloud storages i need and has a lot that i don't need. it would be an overkill. plus i already had api v1 working Commented Aug 25, 2016 at 6:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.