We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Marcos_Soares
9 years agoExplorer | Level 3
API v2
My app send me a "v1_retired" message when i try to upload a json file. The command is:
$http({method: 'PUT', url: 'https://api-content.dropbox.com/1/files_put/dropbox/'+G_NomeUsuario+'/avisos....
Greg-DB
Dropbox Community Moderator
9 years agoMarcos_Soares Rich is correct, your code uses API v1, which is retired, so the call will fail. You should migrate to API v2 instead. For example, the equivalent of /1/files_put is /2/files/upload.
By the way, if you need more time to migrate your app to API v2, we can offer an extension for access to API v1. To request that, please open an API ticket with the relevant app key(s).
Marcos_Soares
9 years agoExplorer | Level 3
Do I have only to change the path? What else do i have to do? There is a step by step way to do it?
Thanks.
Marcos.
- Greg-DB9 years ago
Dropbox Community Moderator
API v1 and API v2 offer different interfaces, so you will need to update your code. There's a migration guide here:
https://www.dropbox.com/developers/reference/migration-guide- Marcos_Soares9 years agoExplorer | Level 3Ok, i finally get my app working with the API v2. Thanks Greg.
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!