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.json?access_token='+G_AccessToken,data: data
What do i have to do to fix it?
Thanks. Marcos.
You need to update your app to use the newer API v2. I'm moving your post to the API forum.
@Marcos_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).
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.