开发者

Dropbox API help

开发者 https://www.devze.com 2023-01-24 11:00 出处:网络
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 ca

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号