Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

pehuen s.'s avatar
pehuen s.
New member | Level 1
11 years ago

SwiftyDropbox API Error

After doing all the steps you indicated here --> https://blogs.dropbox.com/developers/2015/05/try-out-swiftydropbox-the-new-swift-sdk-for-dropbox-api-v2/

I could logged in a client successfully but then if I want for example to retrieve user's data with client.usersGetCurrentAccount function, I always got the same error:

Bad Input: Error in call to API function "users/get_current_account": Your app is not currently allowed to use the API v2 beta API.

9 Replies

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    11 years ago

    Is your app registered for the file type permission? The file type permission currently isn't supported by the API v2 beta, so you'll need to use a different permission for now.

  • Justin H.1's avatar
    Justin H.1
    New member | Level 1
    11 years ago

    Hey Dropbox,

    I have the same issue, and the reason is clear. I just wondered if you could shed some light on when the API v2 is expected to be ready for production (and thus support file-type permissions).
    I'm doing some pre-work on an app for both iOS and Android that needs Drobox integration. I prefer to use API v2 right away, but an expected release date would be nice!

    Perhaps it would also be smart to mention this in your introduction articles for the API v2. Both for Swift and .NET I saw you recommend creating an app in the console, but that file-type permissions aren't supported isn't mentioned there. Unless I'm mistaken that means you can only access file created by your own app right?

    Further everything looks pretty nice and is easy implemented. Also the older ObjC frameworks work right out of the box. Perhaps point a bit more towards using Cocoapods (like you do with the SwiftyDropbox article).

    Thanks for any info and keep up the good work.

  • anchal j.'s avatar
    anchal j.
    New member | Level 1
    11 years ago

    Earlier I had created an app with file type app permission. Now we are using the Dropbox API v2 for Windows Phone application , I could log in a client successfully but if I want to retrieve user's data with dropboxclient.usersGetCurrentAccount function, I always got the same error:

    Bad Input: Error in call to API function "users/get_current_account": Your app is not currently allowed to use the API v2 beta API.

    Any help would be really appreciated.

    Regards, 

    Anchal Jain

  • anchal j.'s avatar
    anchal j.
    New member | Level 1
    11 years ago

    Thanks for the quick reply Gregory.

    I will make sure not to post repeated questions in the future.

    But i  was able to use api v2 with file type permission till yesterday, so how was that possible. ? Did this change occur overnight ?

     

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    11 years ago

    It sounds like you have a different question now, so please open a new thread with the details, so as to not spam the other people on this thread.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!