/files/v3/files error 400

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.

thanks for help

Hi, @Fredito :waving_hand: 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

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

Hey @Jaycee_Lewis 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.

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

using private app, and all scope are on.

Hey @Heather_H 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

Response

{
 "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

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