This message was deleted.
# ask-ai
s
This message was deleted.
t
Thanks for reaching out, Patrick. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
The error you're encountering indicates a Twirp internal error when attempting to make a POST request to the CloudAgent service's ListAgents endpoint. Here are some common causes and troubleshooting steps: Common Causes:Authentication Issues: Ensure you have a valid API key and secret configured, and proper authentication headers in your request. • Agent Hosting Access: Agent hosting may be disabled for your project. If you receive a permission denied error, you may need to join the beta program. • Network Connectivity: Verify the endpoint
AGENT_API_URL
is accessible, and check for firewall or proxy restrictions. • Server Availability: The service might be temporarily unavailable or experiencing server-side issues. Troubleshooting Steps: 1. Test basic connectivity using:
curl -I AGENT_API_URL/twirp/livekit.CloudAgent/ListAgents
2. Verify your client is properly configured with valid credentials for the LiveKit Cloud Agent service. 3. Check for additional error details, such as HTTP status codes or specific error codes. 4. Ensure your request includes the correct Content-Type header (
application/protobuf
or
application/json
) and is properly formatted. If you need further assistance with authentication setup or request formatting, let me know! Sources: livekit/livekit_egress.twirp.go | livekit-api/src/services/twirp_client.rs | cmd/lk/agent.go | livekit-api/livekit/api/twirp_client.py