Hi there! 👋 I see you're having trouble connecting Google Calendar in Vapi.
I don't have access to your specific account details, but I can definitely help explain what that "resource_capped" error means and suggest some troubleshooting steps.
The "resource_capped" error with the message "Reached maximum number of connections with scripts enabled" typically indicates a resource limitation issue. According to the information I found, this error could be related to several possible causes:
## Possible causes:
-
Backend capacity issues or rate limiting (though it's likely not account-level rate limiting)
-
Concurrency limits being reached (Vapi has a default limit of 10 simultaneous calls)
-
Issues with workers that could cause calls to fail and eventually result in concurrency limits being reached
- Potential
database outages
## Here are some troubleshooting steps you can try:
### 1. General troubleshooting:
- Clear your browser cache and cookies
- Disable browser extensions (especially ad blockers)
- Try a different browser or incognito window
- Check if your browser is up-to-date
### 2. Implement delays between calls:
- If your concurrency limit is X, ensure calls are made with a gap of 1 second
- Implement error handling to retry calls after a delay
### 3. Check API endpoints:
- Double-check the Google Calendar API endpoint
- Verify you're using the correct HTTP method (GET, POST, etc.)
If these steps don't resolve the issue, I'd recommend contacting Vapi support with details about the error. They can investigate and potentially reset your concurrency limits if needed.
Is there anything specific about this error you'd like me to explain further?
Sources:
- [Troubleshooting Vapi Google Calendar connection issues](
https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336399188665040968)