# Automatic Speech Recognition endpoint not working

**URL:** <https://discuss.huggingface.co/t/automatic-speech-recognition-endpoint-not-working/29331>\
**Category:** Beginners\
**Created:** [January 10, 2023, 10:33pm UTC](https://discuss.huggingface.co/t/automatic-speech-recognition-endpoint-not-working/29331 "2023-01-10T22:33:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adambeer](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@adambeer](https://discuss.huggingface.co/u/adambeer)\
**Post date:** [January 10, 2023, 10:33pm UTC](https://discuss.huggingface.co/t/automatic-speech-recognition-endpoint-not-working/29331/1 "2023-01-10T22:33:35Z")

</div>

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.

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

```
