ELEVEN labs api working but not giving 401 request in flow
i have tested with curl command but in the buildship its failing
i m using Elevan labs text to speech buffer it open ai is correctly passing text to elevan labs but 401 error @Gaurav Chadha


7 Replies
Processing...
🤖 Navigating through the information maze. 🌐 this might take a couple of minutes... beep boop
🤖 AI Response
A 401 error when using the Eleven Labs Text to Speech node in BuildShip almost always indicates an authentication issue, typically related to the API key setup. According to BuildShip support, the most common causes are:
- The API key is missing, incorrectly formatted, or not properly linked in the BuildShip secret manager.
- The authorization header may not be set up correctly; specifically, the header key (such as Api-Key) must match exactly, including case and hyphens, and should be entered without extra quotations in the manual input key box.
- Even after updating the API key or header, if the backend code does not reflect these changes, the error may persist.
To resolve this:
- Double-check that your Eleven Labs API key is stored correctly in BuildShip's secrets, with no typos or formatting issues.
- Ensure the authorization header in your API node matches the required format (e.g., Api-Key) and is linked to the secret.
- If you have updated the API key, make sure the backend code and node configuration are also updated accordingly.
- If the issue continues, try generating a new API key from Eleven Labs and updating it in BuildShip.
If you have already verified these steps and the error persists, please provide details about how the node is configured, especially how the API key is referenced in the header and secret manager. This will help identify any configuration mismatches or overlooked details.
🔗 References:
1. https://support.buildship.com/m/1375544433910481068
2. https://community.airtable.com/development-apis-11/401-error-on-fetch-3304
3. https://www.youtube.com/watch?v=iYL4MF7nHZ4
4. https://community.n8n.io/t/elevenlabs-node-401-error-on-execute-despite-successful-test-and-valid-key/148236
5. https://discuss.huggingface.co/t/error-401-client-error-unauthorized-for-url/19714?page=2
BuildShip AI Support
Not helpful
it was loading previously though
tried templates its failing in that also

@vaibhav @Gaurav Chadha
Thanks @anuj846k for sharing via support, we'll check and get back to you
@anuj846k please create a new elevenlabs api key, your eleven labs key seems to be expired. WE tested it with our key and it is working well
