0

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?

4

2 回答 2

0

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.

于 2011-09-01T14:34:08.963 回答
0

您提到的 DropboxSDK 存储库看起来很旧。您应该从https://www.dropbox.com/developers/releases获取发布 SDK

于 2010-11-15T01:51:09.527 回答