简体   繁体   中英

Dropbox API help

I have downloaded the Objective-C api from here (the one on their site is for iOS) however I am getting an "Invalid signature. Expected signature base string:" error when I try to upload a file. I can login just fine, but it's just uploading that doesn't work. From looking around it seems to be an oauth problem. How can I fix it or where is there a wrapper that works with osx out of the box?

The DropboxSDK repository you referred to looks old. You should get the release SDK from https://www.dropbox.com/developers/releases

I had the same issue.
Login is fine, but upload generated invalid signature error.

I was calling:

[self.restClient uploadFile:filename toPath:nil fromPath:fromPath];

In my case I have to always specify toPath(@"") attribute even if I specify root directory.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM