#i have an n8n flow that sends the information for a batch calling. The batch gets created in eleven
1 messages · Page 1 of 1 (latest)
Short answer: a tool in your agent is likely trying to “create a record” in an external system, and that external API is returning HTTP 401 because its authentication isn’t configured/valid.
What to check (based on docs):
- Verify tool authentication on your agent
- Server tools must have an auth method attached (OAuth2 client credentials/JWT, Basic, Bearer, or custom header) via Workspace Auth Connections, then linked to the tool. A missing/invalid token or header will cause 401s from the target API. Confirm the header name/value (e.g., Authorization: Bearer …) matches the external API’s requirement. (elevenlabs.io)
- Confirm whether the 401 is from ElevenLabs or your external API
- If the 401 came from an ElevenLabs endpoint, it indicates an invalid API key header (xi-api-key). Recheck the n8n HTTP request node that creates the batch. (elevenlabs.io)
- Use Call History to verify the exact failure reason per call
- The dashboard shows a red error explaining why each call failed; use this to confirm it’s the tool’s auth failing rather than missing variables/override issues. (help.elevenlabs.io)
- Reproduce safely with a single recipient
- Use “Test call” from Batch Calling to reproduce and validate after fixing auth. (elevenlabs.io)
If you share which external system the agent’s “create record” tool targets (e.g., CRM/Sheets), I can point you to the exact auth method to configure in Workspace Auth Connections. (elevenlabs.io)
Sources:
Server tools | ElevenLabs Documentation
Error messages | ElevenLabs Documentation
Where can I locate the reason for my call failing? – ElevenLabs
Batch calling | ElevenLabs Documentation
Server tools | ElevenLabs Documentation
the 401 is in elevenlabs, inside the conversation history