We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

Dolphin_2018's avatar
Dolphin_2018
Explorer | Level 4
7 years ago

Where should I see the "v1_retired" error ?

Hi again,

 

Sorry if it's a stupid question but where exactly should I see the "v1_retired" error? Here is the part of my code where I'm trying to upload a file into the DropBox folder:

 

 

try 
{
    if (!dbxFs.exists(testPath))
    {
        testFile = dbxFs.create(testPath);
    	testFile.writeFromExistingFile(file, false);
    	testFile.close();
    }
}

catch (DbxException.Request e)
{
 e.printStackTrace();
 return false;
}

catch (DbxException.Disallowed e)
{
 e.printStackTrace();
 return false;
} catch (DbxException.Unauthorized e) { e.printStackTrace(); return false; } catch (DbxException.NotFound e) { e.printStackTrace(); return false; } catch (DbxException e) { e.printStackTrace(); return false; } catch (IOException e) { e.printStackTrace(); return false; }

 

 

but I'm not getting any exception, is this where I should get the error? in which of the exceptions should it accord?

 

Thanks.

 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 23 minutes ago
325 Following

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 or Facebook.

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!