Automatic Speech Recognition endpoint not working

I am calling my ASR endpoint (whisper-base) and am getting an error: “error”: "[Errno 36] File name too long:

I am sending the base64 string in the inputs param inside a json object like the documentation shows. Not sure whats going on here. content-type is also set to application/json.

{
   "inputs":"BASE64 STRING..."
}