Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
pehuen s.
11 years agoNew member | Level 1
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-DB11 years ago
Dropbox Community Moderator
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.111 years agoNew member | Level 1
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.
- Greg-DB11 years ago
Dropbox Community Moderator
Thanks for the feedback Justin. We don't have a public release date quite to share yet unfortunately.
You may want to subscribe to the blog though:
https://www.dropbox.com/developers/blog
Anyway, both the app folder and full Dropbox permission are currently supported by the API v2 beta. You can find more information on the different permissions here:
https://www.dropbox.com/developers/reference/devguide#app-permissions
- anchal j.11 years agoNew member | Level 1
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 dropbox
client.usersGetCurrentAccountfunction, 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
- Greg-DB11 years ago
Dropbox Community Moderator
Hi Anchal, please don't post the same question repeatedly. I've answered your question both in the other thread you posted in, as well as the ticket you filed.
- anchal j.11 years agoNew member | Level 1
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-DB11 years ago
Dropbox Community Moderator
I'm not sure offhand if/what changed or when, but API v2 doesn't/hasn't officially supported that permission, so you'll need to use another in order to use API v2:
- anchal j.11 years agoNew member | Level 1
- Greg-DB11 years ago
Dropbox Community Moderator
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
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!