Forum Discussion

Ajay_Chawda's avatar
Ajay_Chawda
Explorer | Level 3
7 years ago

header details added in file during upload

Hi Team,

i'm trying to upload file using upload API.

file getting uploaded correctly, but in file content im alsi getting header details.

header details are not required in file.

Can someone help me on this.

header details should not be present.

2 Replies

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    7 years ago

    Hi Ajay_Chawda,

    Seems you are using content multipart encoding. :slight_smile: That's not applicable to Dropbox API. Raw file content have to be used! :wink: Header lines have to be set in the main HTTP header block (other header types are not acceptable in this API - that's why they go in file content).

    Hope this gives some direction.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with 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!