I\'m developing an app were I integrated dropbox. Login is done properly also I\'m able to create folder in dropBox. But when I try to load file I\'m getting error
F
Error -1021 is a NSURLErrorRequestBodyStreamExhausted error.
According to the documentation you're missing a delegate method:
NSURLErrorRequestBodyStreamExhausted
Returned when a body stream is needed but the client does not provide one. This impacts clients on iOS that send a POST request using a body stream but do not implement the NSURLConnection delegate method connection:needNewBodyStream. Available in OS X v10.7 and later.