Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I am getting "error loading metadata: Error Domain=dropbox.com Code=400 "(null)" UserInfo={path=/DocWalletDB.sqlite, error=v1_retired}" in my Console.
I am working with Objective c .So,please help me to resolve the above issue and if i update my Dropbox SDK from V 1to V1,will my back files are delete or not?
Dropbox SDK is used in my project.Not Pods.Help me ,Thank you
Thankyou.
I'm entry level to this code.The previous developer integrated dropbox with sqlite database .
Can you please give me the Upload ,download methods along with how to call Paths?
Means from --- to --path ?
Hi Greg ,when i'm trying to download file from dropbox to my path ,it is not happening.I'm getting below response ,please help me
I'm doubting ,iam not sure , i didn't give proper path ?
{
"client_modified" = "2018-01-30T15:41:01Z";
"content_hash" = d163f97a49ad06d8c25a20d2797faa20c07aee5fcf90443fa1069d720b62a768;
id = "id:tQnxMnQWzyAAAAAAAAAACA";
name = "Document3.zip";
"path_display" = "/Document3.zip";
"path_lower" = "/document3.zip";
rev = 16cac9e50;
"server_modified" = "2018-01-30T15:41:02Z";
size = 656674;
}
DBUserClient *client = [DBClientsManager authorizedClient];
NSFileManager *fileManager = [NSFileManager defaultManager];
NSURL *outputDirectory = [fileManager URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask][0];
FilePath = [Database getDatabasePath];
NSURL *outputUrl = [outputDirectory URLByAppendingPathComponent:@"Doc.sqlite"];
[[[client.filesRoutes downloadUrl:@"/Document3.zip" overwrite:YES destination:outputUrl]
setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *networkError,
NSURL *destination) {
if (result) {
NSLog(@"%@\n", result);
NSData *data = [[NSFileManager defaultManager] contentsAtPath:FilePath];
NSString *dataStr = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
NSLog(@"%@\n", dataStr);
""""'Here DataStr is coming as Nill"
Please help me, thank you
Hi there!
If you need more help you can view your support options (expected response time for a 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!