Installation Issues
npm Install Fails
Problem:npm install fails with dependency resolution errors.
Solution:
Package Manager Issues
Problem: Wrong package manager detected by CLI. Solution: The CLI auto-detects your package manager. Override with:Authentication Issues
API Key Not Found
Problem: “API key not found” error when running app. Solution:- Check environment variable is set:
- Verify .env file exists and has correct prefix:
- Restart dev server after changing .env:
Invalid API Key
Problem: “Invalid API key” or 401 errors. Solution:- Generate new key at Tambo Cloud
- Verify key is correctly copied (no extra spaces)
- Check key format:
sk_live_...orsk_test_...
Authentication Required for CLI
Problem: CLI commands require authentication. Solution:Streaming Issues
No Streaming Updates
Problem: Components don’t update during AI response. Solution:- Verify streamable hint is enabled:
- Check component uses streaming status:
Streaming Stops Mid-Response
Problem: Streaming cuts off before completion. Solution:- Check network connection
- Verify API endpoint is accessible
- Check for rate limiting (429 errors)
- Increase timeout if using custom fetch:
Component Issues
Component Not Rendering
Problem: AI-generated components don’t appear. Solution:- Verify component is registered:
- Check component name matches (case-sensitive):
- Verify props schema is valid:
Component Validation Errors
Problem: “Component name too long” or validation errors. Solution:- Keep component names under 64 characters
- Avoid spaces in names:
- No special characters except underscore:
Database Issues (Self-Hosted)
Connection Failed
Problem: Cannot connect to database. Supabase Solution:Migration Errors
Problem: Database migrations fail. Solution:Port Conflicts
Problem: “Port already in use” errors. Solution:- Check what’s using the port:
- Change ports in configuration:
Build Issues
TypeScript Errors
Problem: Type errors during build. Solution:Tailwind CSS Not Working
Problem: Tailwind styles not applied. Solution:- Verify Tailwind config includes component paths:
- Import Tailwind in your CSS:
- For CLI components, run setup:
MCP Issues
MCP Server Connection Failed
Problem: Cannot connect to MCP server. Solution:- Verify server is running:
- Check transport type matches:
- Verify MCP token if required:
MCP Tools Not Available
Problem: MCP tools not showing up. Solution:- Check server connection status:
- Verify tools are exposed by server:
Performance Issues
Slow Response Times
Problem: AI responses are slow. Solution:-
Use faster models:
- GPT-3.5 Turbo instead of GPT-4
- Claude Haiku instead of Opus
- Cerebras for ultra-fast inference
- Reduce context size:
- Enable streaming:
High Memory Usage
Problem: Application uses too much memory. Solution:- Limit message history:
- Clean up old threads:
- Use React.memo for expensive components:
Getting More Help
If these solutions don’t resolve your issue:- Search GitHub Issues: github.com/tambo-ai/tambo/issues
- Ask on Discord: discord.gg/dJNvPEHth6
- Check Documentation: docs.tambo.co
- Open New Issue: Provide:
- Tambo version
- Node.js version
- Steps to reproduce
- Error messages
- Relevant code snippets