APIs & Integrations

Shwetansh07
Member | Elite Partner
Member | Elite Partner

Not able to upload file through file API

SOLVE

When trying to upload file through https://developers.hubspot.com/docs/methods/files/post_files , getting this error again and again :-

[status_code] => 400
    [response] => {"status":"error","message":"no file found, please set name to 'files' or 'files[]'","correlationId":"339d101e-9be8-4ae9-b367-5f15c2438959","requestId":"0c6332dc-3734-4303-8a50-55631cedbbde"}
    [errors] =>  

 

0 Upvotes
1 Accepted solution
WendyGoh
Solution
HubSpot Employee
HubSpot Employee

Not able to upload file through file API

SOLVE

Hi @Shwetansh07,

 

Are you using python to upload the file via the API into HubSpot? If so, I believe these few thread discussion here will be helpful for you:

View solution in original post

0 Upvotes
1 Reply 1
WendyGoh
Solution
HubSpot Employee
HubSpot Employee

Not able to upload file through file API

SOLVE

Hi @Shwetansh07,

 

Are you using python to upload the file via the API into HubSpot? If so, I believe these few thread discussion here will be helpful for you:

0 Upvotes