cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Upload serialized object

Upload serialized object

good_boy
Explorer | Level 4

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.

1 Reply 1

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.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?