Common Issues
Solutions to frequently encountered problems.Authentication Issues
”Invalid redirect URI”
Cause: Your callback URL isn’t configured in WorkOS. Solution:- Go to WorkOS Dashboard > AuthKit > Redirects
- Add your callback URL (e.g.,
https://your-app.com/callback) - For development, add
http://localhost:5173/callback
”Cookie not set”
Cause:WORKOS_COOKIE_PASSWORD is missing or too short.
Solution:
Ensure the password is at least 32 characters:
“User not created”
Cause: Auto-provision may not be configured. Solution: Check that Convex auth config includes auto-provision settings.Sync Issues
Plugin shows “Not connected”
Cause: Invalid or missing API key. Solution:- Generate a new API key in Settings
- Run
plugin-name loginagain with the new key
Sessions not appearing
Cause: Sessions may not be syncing. Solution:- Check plugin status:
plugin-name status - Try manual sync:
plugin-name sync - Verify the source tool is writing sessions
Duplicate sessions
Cause: Session IDs may have changed. Solution:- This usually resolves itself
- If persistent, clear and re-sync
Search Issues
Semantic search not working
Cause: OpenAI API key not configured. Solution:No search results
Cause: Search index may be empty. Solution:- Ensure sessions exist in the database
- Check that searchableText is populated
- Wait for embeddings to generate
Deployment Issues
Convex deploy fails
Cause: Schema or function errors. Solution:- Run
npx convex devto see errors locally - Fix TypeScript errors
- Ensure schema is valid
Frontend shows blank page
Cause: Missing environment variables. Solution:- Check browser console for errors
- Verify
VITE_CONVEX_URLis set - Ensure Convex is deployed and running
Performance Issues
Slow loading
Cause: Large number of sessions or messages. Solution:- Use pagination (default behavior)
- Add filters to reduce data fetched
- Check Convex dashboard for slow queries