I am following the instructions on https://github.com/dropbox/SwiftyDropbox#download-style-request
and I successfully upload my pdf to dropbox. However the uploaded pdf cannot be previewed and when I download, it shows the following error.
I tired to upload the same pdf manually to dropbox. I can preview and when I download it, it is completely correct.
This is how I upload my pdf using swift.
Appreciate anyone's help! Thank you very much. I have been stuck for a long time