metropolitan-bronze•3w ago
file post request failing through n8n
@Eric K (COO @Cloudonix) I'm making an http request in my backend system and following the vapi docs to post a file in my account - adding my api token, etc - I get this error, I dont know what is causing it. Have you run into this issue before? Do you know how to solve it?

10 Replies
exotic-emerald•3w ago
Sorry, I have no knowledge about the Vapi documentation.
Check that your Vapi file upload request uses the correct POST endpoint, includes the proper Authorization header, sends multipart/form-data with a supported file type, and matches your assistant ID and server URL..
metropolitan-bronzeOP•3w ago
All of these are imported correctly - still I get this error ... cloudfare is blocking the connection -- I even tried it in the vapi docs test there entered my file and my token and again cloudfare was blocking me
Could you please send the request payload you are trying to send?
metropolitan-bronzeOP•2w ago
What do you mean ? the http request node I have on n8n?
metropolitan-bronzeOP•2w ago



metropolitan-bronzeOP•7d ago
Let me know what do you think!
Could you send the JSON format of the request? I believe you are viewing the binary version
metropolitan-bronzeOP•5d ago
Vapi docs say the Body Content Type should be Form-data not Json \
What Json format are you reffering to ?
My apologies. It looks like you are getting a 403 forbidden error, which is pointing more towards an issue with the API key that was provided. Are you using the public API key or the private key? And have you run a test with that API key using another endpoint/request like a simple GET /assistant?