Invalid api key
# support
a
Hi, I'm using the web call quickstart and providing my public api key from my da but it tells me my key is invalid. What might be going wrong here? Code
Copy code
const assistantOptions = {
        name: "Name",
        firstMessage: "Hi",
        transcriber: {
            provider: "deepgram",
            model: "nova-2",
            language: "en-US",
          },
          voice: {
            provider: "openai",
            voiceId: "alloy",
          },
          model: {
            provider: "openai",
            model: "gpt-4o-realtime-preview-2024-12-17",
            messages: [
                {
                    role: "system",
                    content: "You are an assistant",
                },
            ],
          }
        };
    await vapi.start(assistantOptions);
Getting: Invalid Key. Hot tip, you may be using the private key instead of the public key, or vice versa. I have tried using both the public and private key
s
Make sure the api key has access to the transient agents / any other agents youre using
v
Hey, can you share your orgID?
v
✅ Ticket status updated to solved by Vapi Ticket Bot#0124
2 Views