954
11/25/2025, 4:06 PMVapi Support Bot
11/25/2025, 4:07 PMassistantId in your API call, as missing or incorrect assignment is a common cause of this error.
Here's a code example:
javascript
const response = await vapi.calls.create({
workflow: { id: "your-workflow-id" },
assistantId: "your-assistant-id", // Make sure this is valid and assigned in the Vapi Dashboard
to: "+1234567890"
});
Double-check that the assistant is assigned to your phone number in the Vapi Dashboard before retrying your call.
For more details, see the [Discord discussion on this error](https://discord.com/channels/1211482211119796234/1367883431266095104).
Source:
- [Discord discussion about Assistant not valid error](https://discord.com/channels/1211482211119796234/1367883431266095104)954
11/25/2025, 4:37 PMLakshay Julka
11/25/2025, 6:03 PM954
11/26/2025, 5:53 AMChiranjeet Mishra
11/26/2025, 5:35 PM954
11/26/2025, 6:23 PMChiranjeet Mishra
11/27/2025, 5:07 PM954
12/18/2025, 2:15 AMChiranjeet Mishra
12/18/2025, 4:34 PM954
12/18/2025, 6:34 PMChiranjeet Mishra
12/22/2025, 5:48 PM