Authentication Issues
Error: Not authenticated. Run `superserve login` first.
Error: Not authenticated. Run `superserve login` first.
Login fails or hangs
Login fails or hangs
- Browser doesn’t open
- Device code doesn’t work
- “Authorization pending” never completes
- Check your internet connection
-
Try logging in again:
-
Manually open the verification URL if the browser doesn’t open automatically:
-
Check for firewall/proxy issues that may block access to
api.superserve.ai
Deployment Issues
Error: 'name' is required in superserve.yaml
Error: 'name' is required in superserve.yaml
name field in superserve.yaml.Solution:Add the name field:Error: Invalid agent name
Error: Invalid agent name
- Must start with a lowercase letter
- Can only contain lowercase letters, numbers, and hyphens
- No special characters or spaces
Deployment stuck on 'Installing dependencies...'
Deployment stuck on 'Installing dependencies...'
- Wait up to 5 minutes for complex dependency installations
-
Check agent status:
-
If status is FAILED, check the error message and fix your dependencies:
Error: Dependency install failed
Error: Dependency install failed
- Invalid package names in
requirements.txtorpackage.json - Incompatible package versions
- Package not available in PyPI or npm
-
Check the error message:
Look for the
Deps Errorfield. -
Verify package names and versions in your dependency file:
requirements.txt
-
Test locally before deploying:
-
Redeploy after fixing:
Error: Entrypoint file not found
Error: Entrypoint file not found
Secret Management Issues
Error: Missing required secret(s)
Error: Missing required secret(s)
Secret not available in agent runtime
Secret not available in agent runtime
KeyError: 'ANTHROPIC_API_KEY'in Pythonundefinedin JavaScript/TypeScript
-
Verify the secret is set:
-
Check the key name matches exactly (case-sensitive):
-
Set the secret if missing:
Error: Invalid format. Use KEY=VALUE
Error: Invalid format. Use KEY=VALUE
= separator.Solution:Session Issues
Error: No session found matching 'abc123'
Error: No session found matching 'abc123'
-
List available sessions:
-
Check if the session timed out (shows as status
TIMEOUT) -
Start a new session:
Error: Ambiguous ID
Error: Ambiguous ID
Session ended unexpectedly (TIMEOUT status)
Session ended unexpectedly (TIMEOUT status)
- Session status changes to
TIMEOUT - Workspace files are destroyed
- Cannot resume the session
Cannot resume session (status 'ended')
Cannot resume session (status 'ended')
Runtime Issues
Agent not responding
Agent not responding
-
Check agent status:
Ensure status is
READY. -
Check required secrets are set:
Look for “Required Secrets” vs “Configured Secrets”.
-
Try a simple test:
-
Check session status:
Agent responds slowly
Agent responds slowly
- Large dependencies still loading
- Complex prompt or long conversation history
- Network latency
-
Check deployment status:
If status is
DEPLOYING, wait for it to becomeREADY. -
Start a fresh session to reduce context size:
- Use simpler prompts for testing.
Import errors in agent code
Import errors in agent code
- Missing dependency in
requirements.txtorpackage.json - Dependency install failed
-
Add the missing package:
requirements.txt
-
Redeploy:
-
Verify dependency installation:
Configuration Issues
Error: Invalid YAML in superserve.yaml
Error: Invalid YAML in superserve.yaml
Ignore patterns not working
Ignore patterns not working
__pycache__,.git,node_modules,.venv,venv- Files starting with
.env
Network and Connection Issues
Error: Cannot connect to Superserve API
Error: Cannot connect to Superserve API
- Check your internet connection
-
Verify API access:
-
Check firewall/proxy settings that may block:
api.superserve.aiconsole.superserve.ai
- Try again - may be a temporary network issue
Error: Request timed out
Error: Request timed out
- Large file upload during deploy
- Slow network connection
- API temporarily overloaded
-
Reduce deployment size with ignore patterns:
- Try again - may succeed on retry
- Check network connection speed
Best Practices to Avoid Issues
Getting Help
If you’re still experiencing issues:- Check the documentation:
- Search existing issues: Visit the GitHub repository
- Join the Discord community: Get help from other users at discord.gg/utftfhSK
- Report a bug: If you’ve found a bug, open an issue
Common Error Messages Reference
| Error | Cause | Solution |
|---|---|---|
| Not authenticated | No auth token | superserve login |
| Agent not found | Invalid agent name/ID | Check with agents list |
| Missing required secret | Secret not set | secrets set AGENT KEY=VALUE |
| Dependency install failed | Invalid package | Fix requirements.txt |
| Session not found | Invalid session ID | Check with sessions list |
| Invalid YAML | Syntax error | Validate YAML syntax |
| Ambiguous ID | ID prefix matches multiple | Use longer prefix |
| Request timed out | Network/size issue | Retry or reduce size |