11labs adding key error
# support
a
Error in Saving Credentials. Couldn't Validate 11labs Credential. Error: Request failed with status code 401
v
A 401 error means your ElevenLabs API key is invalid or unauthorized. To resolve this, double-check that you have an active ElevenLabs API subscription and copy your API key from the Profile + Keys section on the ElevenLabs website. Then, enter it in Vapi under Settings → Integrations → ElevenLabs and click *Save*:
Copy code
1. Get your API key from ElevenLabs (Profile + Keys)
2. Go to Vapi Dashboard → Settings → Integrations → ElevenLabs
3. Paste your API key and Save
If the error persists, ensure your subscription is active and the key is correct. For more details, see the [Vapi ElevenLabs integration guide](https://docs.vapi.ai/customization/custom-voices/elevenlabs). Source: - [Vapi ElevenLabs integration guide](https://docs.vapi.ai/customization/custom-voices/elevenlabs)
a
Have you been able to solve this or you still need help? @adriaVidal
a
no still 401, is a valid account (free/demo), have the same api key running some other tests
a
Let’s connnect I can help you @adriaVidal
u
It's because of the scopes you added when you were creating the 11labs API key
c
give your elevenlabs API key access to every endpoint and read-only access for everything else that sepcifies read or write permissions, then import the key.