Error 500 When Uploading File via /file Endpoint
# support
s
Hi VAPI Support Team, We’re currently encountering a 500 Internal Server Error when trying to upload a file using the /file endpoint. Here’s the cURL request we’re using:
Copy code
curl --location 'https://api.vapi.ai/file' \
--header 'Authorization: Bearer <redacted>' \
--form 'file=@"/filepath"'
And this is the response we receive:
Copy code
json
{
  "statusCode": 500,
  "message": "Internal server error. Contact support@vapi.ai for help."
}
Can you please confirm if this endpoint is currently unavailable or if there’s an issue we need to resolve on our end? Thanks in advance! Best, Seygi Kutani
@User
k
Your request format appears correct, so try with a simple file, check using curl -v..
c
Hey @Seygi, can you try again and let me know how it goes for you?
s
It's working Tks
c
Marking this ticket as Solved ✅
3 Views