One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
good_boy
7 years agoExplorer | Level 4
Upload serialized object
I am using the Dropbox JS SDK in Cordova.
Before upload, I am using msgpack-lite to serialize the object and storing it in a file.bin path.
But when I download it, instead of a UInt8Array object it is actually showing the raw file contents. The actual data. Why is that?
Because of which I can't decode the blob with msgpack neither can I parse the file with JSON.
- Greg-DB
Dropbox Staff
The SDK/API should just receive and return the file data exactly as you supply it.
If this isn't working as expected, please share some sample code and output so we can take a look.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 48 minutes ago
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 or Facebook.
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!