Quick reference for common Runtype errors and how to resolve them.
Authentication errors
Error: Invalid API key
Message: 401 Unauthorized: Invalid or missing API key
Causes:
- API key was revoked or expired
- Typo in key
- Using wrong key for environment
Solutions:
- Check Settings → Models or Integrations
- Regenerate key if expired
- Verify key matches environment (dev vs production)
Error: Domain not authorized
Message: 403 Forbidden: Domain not in allowed list
Causes:
- Chat widget domain not added to allowed list
Solutions:
- Go to chat surface settings → Security
- Add current domain to allowed domains
- Save and retry
Flow execution errors
Error: Step timeout
Message: Execution timed out after 30s
Solutions:
- Increase Flow timeout in settings
- Optimize slow steps (use faster models)
- Add caching to avoid repeated API calls
Error: Undefined variable
Message: Cannot read property 'output' of undefined
Solutions:
- Check step name spelling
- Ensure step executes before being referenced
- Add conditional checks for optional variables
Error: Rate limit exceeded
Message: 429 Too Many Requests
Solutions:
- Switch to BYOK for dedicated rate limits
- Add delay steps between API calls
- Reduce batch concurrency
Integration errors
Error: Slack message failed
Causes:
- Channel deleted or archived
- Bot removed from channel
- Slack integration disconnected
Solutions:
- Verify channel exists and is active
- Re-invite Runtype bot to channel
- Reconnect Slack in Settings → Integrations
Error: Firecrawl scraping failed
Causes:
- Website blocks automated access
- Page requires authentication
- Invalid URL
Solutions:
- Check URL is publicly accessible
- Use authentication parameters if available
- Try different wait_for selector
Model errors
Error: Model not available
Causes:
- Model disabled in settings
- Provider API key missing or invalid
- Model deprecated by provider
Solutions:
- Enable model in Settings → Models
- Verify provider API key is current
- Switch to alternative model
Error: Context length exceeded
Message: Maximum context length exceeded
Solutions:
- Reduce prompt length
- Use model with larger context (e.g., Claude Sonnet 4.6 or Gemini 3.1 Pro)
- Summarize input before sending to AI
Surface errors
Solutions:
- Check script tag is before “
- Verify surface status is Active
- Check browser console for errors
- Confirm domain is allowed
Error: API endpoint not found
Message: 404 Not Found
Solutions:
- Verify endpoint URL is correct
- Check Product ID and capability ID
- Ensure surface is active
For errors not listed here, check execution logs for detailed stack traces and error messages. Include execution ID when contacting support.
Next steps
- Debugging failed executions for systematic troubleshooting
- Flow execution failures for Flow-specific errors
- Authentication issues for login problems
- FAQ for general questions