# Uploading files to Dropbox causing 400 error

**URL:** <https://community.n8n.io/t/uploading-files-to-dropbox-causing-400-error/285385>\
**Category:** Questions\
**Tags:** dropbox\
**Created:** [April 7, 2026, 9:28am UTC](https://community.n8n.io/t/uploading-files-to-dropbox-causing-400-error/285385 "2026-04-07T09:28:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kp1771](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/kp1771/32/168511_2.png) [@kp1771](https://community.n8n.io/u/kp1771)\
**Post date:** [April 7, 2026, 9:28am UTC](https://community.n8n.io/t/uploading-files-to-dropbox-causing-400-error/285385/1 "2026-04-07T09:28:22Z")

</div>

Hi, I’ve set up a worklow that was working fine for several months but it’s started failing when trying to upload a file to Dropbox. I’m getting this error:  
400 - “Error in call to API function \“users/get\_current\_account\”: Bad HTTP \“Content-Type\” header: \“application/x-www-form-urlencoded\”. Expecting one of \“application/json\”, \“application/json; charset=utf-8\”, \“text/plain; charset=dropbox-cors-hack\”.”

It looks like something has changed within Dropbox or the n8n app. Is there a solution I can use, or do I need to set up a direct API request to upload the file?

Thanks

---

<div class="post-metadata">

**Author:** ![Mamta\_Bankoti](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mamta_bankoti/32/59890_2.png) [@Mamta\_Bankoti](https://community.n8n.io/u/Mamta_Bankoti)\
**Post date:** [April 7, 2026, 10:24am UTC](https://community.n8n.io/t/uploading-files-to-dropbox-causing-400-error/285385/3 "2026-04-07T10:24:58Z")

</div>

The error is happening because Dropbox has changed its API and now requires JSON or specific headers.

To fix this, update your Dropbox node in n8n to the latest version, set it to send data as JSON, and reconnect your account. If that doesn’t work, you can use a custom HTTP request to upload the file with the correct headers. This will let your workflow upload files without errors.

---

<div class="post-metadata">

**Author:** ![kp1771](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/kp1771/32/168511_2.png) [@kp1771](https://community.n8n.io/u/kp1771)\
**Post date:** [April 7, 2026, 10:33am UTC](https://community.n8n.io/t/uploading-files-to-dropbox-causing-400-error/285385/4 "2026-04-07T10:33:01Z")

</div>

Thank you for your suggestions.

I’m using the n8n website. I’ve tried updating the Dropbox node, by deleting and re-adding it but I’m getting the same error.

I think the node itself needs updating to change the headers, I guess I can’t update that myyself.

I’ll look into using a custom HTTP request but it seems like a lot of extra work when the Dropbox node is right there 🙂

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/36532_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [July 6, 2026, 10:33am UTC](https://community.n8n.io/t/uploading-files-to-dropbox-causing-400-error/285385/5 "2026-07-06T10:33:14Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
