Squad Web Call Returns 403 Forbidden - Works in Di...
# support
a
Getting 403 Forbidden when making squad web calls from my account. The same squad works perfectly when I test it in my other account, so this is account-specific. Error Response: { "message": "Key doesn't allow assistantId 'undefined'.", "error": "Forbidden", "statusCode": 403 } Call ID: N/A (call fails before creation) When: November 24, 2025 Endpoint: POST /call/web What I Tested: - Individual assistants work fine in this account (not in squad, i can talk to it directly via web or phone with no issues at all) - Same exact squad works in my other account (not in squad, i can talk to it directly via web or phone with no issues at all) - Squad web calls fail only in this specific account and not on the other account that i own. What's wrong with my account? https://cdn.discordapp.com/attachments/1442490102461763584/1442490102692708362/image.png?ex=69259f18&is=69244d98&hm=23bf900177b9d127b8565ce415ff7ee190d244512ddb74d25e81b79a8aaf0c6e&
v
Action Required: The error suggests your API call is missing a valid
assistantId
. When making a squad web call, explicitly include the
assistantId
parameter in your API request, even if using a squad. For example:
Copy code
javascript
const response = await vapi.calls.create({
  workflow: { id: "your-workflow-id" },
  assistantId: "your-assistant-id", // Ensure this is set
  to: "+1234567890"
});
Check that the assistant is correctly assigned in your Vapi Dashboard and that your API key has permission to use this assistant. For more details, see the [Discord discussion about Assistant not valid error](https://discord.com/channels/1211482211119796234/1367883431266095104). Source: - [Discord discussion about Assistant not valid error](https://discord.com/channels/1211482211119796234/1367883431266095104)
a
Thank you for your help. I'm not calling using the API, im calling from youe dashboard GUI and what about the API, should i create a new public api again? i have 3 already and all of them are updated, should i revoke them and create new one that will inclue the new assistants instead or what?