Key doesn't allow origin (FROM THE DASHBOARD)
# support
@Sahil We cannot go live with new customers. . .
v
To resolve the "Key doesn't allow origin 'https://dashboard.vapi.ai'" error: Go to the API Keys or Provider Keys section in your [Vapi dashboard](https://dashboard.vapi.ai/), find the relevant key, and ensure that
https://dashboard.vapi.ai
is added to the list of allowed origins. Example:
Copy code
Allowed Origins: https://dashboard.vapi.ai
Save your changes and try triggering the call again from the dashboard. Source: - [Provider Keys](https://docs.vapi.ai/customization/provider-keys)
a
There is no way to modify the key from the dashboard.
l
I understand the issue you’re facing. The error clearly points to a CORS restriction on your API key, it’s not configured to allow requests from https://dashboard.vapi.ai. This is why calls from the VAPI dashboard aren’t triggering. I can help you resolve this quickly by either generating a new API key with the correct origin allowance or updating the existing key’s restrictions. Have you already checked your API key settings in your VAPI account to see if dashboard.vapi.ai is added as an allowed origin? @Alberto
a
Why is Vapi using my key for the dashboard.. that would be the real question
My API key should and MUST be used only for what we're doing from a code perspective 🙂
s
for now if you remove the key origin details
it will solve the issue.
a
The key can only be deleted, and that's the production key we're using...
3 Views