Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
RTS S.
10 years agoHelpful | Level 6
API V2 Can't get large file Upload working
Some context for the following: 1) DBAPIMetadata is just my wrapper for Files.Metadata that I can pass to Objective-C 2) The BGHelper at the end (when the call is not on the MainThread) just call t...
RTS S.
10 years agoHelpful | Level 6
Some more problems with uploads (Version 1.0) ...
let ins = NSInputStream(fileAtPath: fromPath)
client.files.upload(path:"/AccountInfo.json", ins!)
I also get the following response error:
Printing description of errorType:
(SwiftyDropbox.CallError<SwiftyDropbox.Files.UploadError>?) errorType = RouteError {
RouteError = {
0 = 0x000000015cedf080 {
unboxed = Path {
Path = 0x0000000104594030 {
reason = MalformedPath {
MalformedPath = "
}
uploadSessionId = unable to read data
}
}
}
1 = "4c780c956d3e116ae75fdeee8c7435f3"
}
}
Also if I read the stream into an NSData object and pass the NSData object to the files.upload call instead of the NSInputStream ... I get an exception ... like its trying to read a stream.
A note on this issue and previous issue ... the "/AccountInfo.json" file already exists on dropbox ... I am trying to update it.
I have not been able to use any Variation of your API's to upload this file!!!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!