# /files/v3/files error 400

**URL:** <https://community.hubspot.com/t/files-v3-files-error-400/73946>\
**Category:** APIs & Integrations\
**Created:** [January 27, 2023, 7:03pm UTC](https://community.hubspot.com/t/files-v3-files-error-400/73946 "2023-01-27T19:03:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fredito](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@Fredito](https://community.hubspot.com/u/Fredito)\
**Post date:** [January 27, 2023, 7:03pm UTC](https://community.hubspot.com/t/files-v3-files-error-400/73946/1 "2023-01-27T19:03:15Z")

</div>

Hi,

I’am trying to upload a file useing the /files/v3/files API in Postman before trying to make it run in Zapier.

I’ve always the same response http 400 whitout more explanation…

I’am using the HS private apps token and have check the scope.

 ![Fredito_0-1674846147851.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/1/611f404d834edf217f316643a80ed004cceb3663.png)

thanks for help

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 30, 2023, 6:43pm UTC](https://community.hubspot.com/t/files-v3-files-error-400/73946/2 "2023-01-30T18:43:58Z")

</div>

Hi, @Fredito 👋 Did you get this worked out? If not, I have a quick example from Postman using this API. I am happy to share what my successful upload request looks like.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![DGaleano](https://avatars.discourse-cdn.com/v4/letter/d/ea666f/32.png) [@DGaleano](https://community.hubspot.com/u/DGaleano)\
**Post date:** [March 24, 2023, 7:00pm UTC](https://community.hubspot.com/t/files-v3-files-error-400/73946/3 "2023-03-24T19:00:56Z")

</div>

Hi Jaycee, could you please send me that example in Postman?

---

<div class="post-metadata">

**Author:** ![JPerna](https://avatars.discourse-cdn.com/v4/letter/j/b487fb/32.png) [@JPerna](https://community.hubspot.com/u/JPerna)\
**Post date:** [June 15, 2023, 4:59pm UTC](https://community.hubspot.com/t/files-v3-files-error-400/73946/4 "2023-06-15T16:59:20Z")

</div>

Hey [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) I am in the same boat. I keep trying to use the /files/v3/files endpint but everytime without fail no matter how I format the request I get a ‘bad request’ response and the content is always empty. Could you show me your example or provide assistance. I can start a new thread and post code if that would be more helpful.

---

<div class="post-metadata">

**Author:** ![Heather\_H](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/heather_h/32/104659_2.png) [@Heather\_H](https://community.hubspot.com/u/Heather_H)\
**Post date:** [May 1, 2025, 7:55pm UTC](https://community.hubspot.com/t/files-v3-files-error-400/73946/5 "2025-05-01T19:55:52Z")

</div>

I am dealing with the same issue - would be great to have a resolution

using private app, and all scope are on.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [May 2, 2025, 5:50pm UTC](https://community.hubspot.com/t/files-v3-files-error-400/73946/6 "2025-05-02T17:50:42Z")

</div>

Hey [@Heather\_H](https://community.hubspot.com/t5/user/viewprofilepage/user-id/673786) I don’t know the context of your use case, but I just tested this in Postman and it was successful:

Request

`https://api.hubapi.com/files/v3/files/`

Body

 ![CleanShot 2025-05-02 at 11.31.55@2x.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/1/6107c3b86cb3391de2d942f450e6c08ff568658f.png)

Response

```lia-code-sample
{
 "id": "189651517103",
 "createdAt": "2025-05-02T17:29:05.664Z",
 "updatedAt": "2025-05-02T17:29:05.664Z",
 "parentFolderId": "92105487368",
 "name": "9qao9y",
 "path": "/Bobs files/9qao9y.jpg",
 "size": 69607,
 "height": 500,
 "width": 500,
 "encoding": "jpeg",
 "type": "IMG",
 "extension": "jpg",
 "defaultHostingUrl": "https://1234567890.nope",
 "url": "https://1234567890.nope",
 "isUsableInContent": true,
 "access": "PRIVATE",
 "fileMd5": "0000000000000",
 "sourceGroup": "CONTENT",
 "archived": false
}

```

Have fun testing. If you still have troubles, feel free to create a new post or use this one and share your request, body, and response details so we can try to help out.

Have fun testing! — Jaycee

---

<div class="post-metadata">

**Author:** ![LTozze](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ltozze/32/198624_2.png) [@LTozze](https://community.hubspot.com/u/LTozze)\
**Post date:** [October 2, 2023, 10:32pm UTC](https://community.hubspot.com/t/files-v3-files-error-400/73946/7 "2023-10-02T22:32:05Z")

</div>

Same problem here, guys! Was Anyone able to fix it?
