Dropbox Core API - 1021 error before upload - only in iOS 5 and below -


this question has answer here:

i integrated dropbox core api 2 of ios apps. successfully. few weeks ago, working fine. when run apps on devices ios 5.0 or ios 4.2, , try call uploadfile: api, error:

error making request /1/files_put/sandbox/abc.xyz - (-1021) error domain=nsurlerrordomain code=-1021 "the operation couldnÕt completed. (nsurlerrordomain error -1021.)" userinfo=0x28af00 {destinationpath=/abc.xyz, sourcepath=/var/mobile/applications/fb0373c9-...c4f0874d40/documents/abc.xyz}

where abc.xyz file name trying upload.

-1021 error code comes in case of authentication failure while uploading. after file has been uploaded. time appears before upload starts.

i tried loadmetadata: api, works fine, , returns metadata.

on 2 devices latest ios installed, dropbox upload works fine. tried updating latest sdk, doesn't work.

you can check build works fine me in ios 5,6 dropbox forum

also can download build here


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -