Common Issues
API key not working
API key not working
Symptoms:
Unauthorized - Invalid API keyerror- 401 status code on API requests
- Verify your API key is correct:
- Check environment variables are loaded:
- Verify the key format:
- Check if the key is revoked:
- Log into your dashboard
- Go to API Keys
- Verify the key status is “Active”
Memories not being saved
Memories not being saved
Symptoms:If this doesn’t work, check your API logs for errors.
- LLM doesn’t call
add_memorytool - No memories appear in database
- Verify tools are passed to streamText:
- Check system prompt instructs LLM to save:
- Verify maxSteps is set:
- Test with explicit command:
Context not appearing in responses
Context not appearing in responses
Symptoms:
- LLM doesn’t reference saved memories
- Responses don’t seem personalized
- Verify context is fetched:
- Check context is in system prompt:
- Verify memories exist:
- Check search threshold:
Rate limit exceeded
Rate limit exceeded
Symptoms:
Too Many Requestserror- 429 status code
- Implement exponential backoff:
- Batch operations:
- Cache context fetches:
- Contact support for higher limits
Slow response times
Slow response times
Symptoms:
- API calls take several seconds
- Chat feels sluggish
- Reduce context limit:
- Parallel operations:
- Cache embeddings for common queries:
- Use streaming:
TypeScript errors
TypeScript errors
Symptoms:
- Type errors in IDE
- Build fails with type errors
- Install type definitions:
- Import types correctly:
- Check tsconfig.json:
- Rebuild packages:
CORS errors
CORS errors
Symptoms:
CORS policyerror in browser console- Requests fail from frontend
- Never call Satori API from frontend:
- Use server-side API routes:
Memory not found errors
Memory not found errors
Symptoms:
Memory not foundwhen deleting- 404 errors
- Verify memory ID:
- Check memory belongs to user:
- Handle errors gracefully:
Duplicate memories
Duplicate memories
Symptoms:
- Same information saved multiple times
- Too many similar memories
- Check before saving:
- Update system prompt:
- Periodic cleanup:
Debugging Tips
Enable Verbose Logging
Test Memory Operations Directly
Check Network Requests
Getting Help
If you’re still experiencing issues:Check Documentation
Review the quickstart guide
GitHub Issues
Report bugs or request features
Community Discord
Get help from the community
Email Support
Contact our support team