Troubleshooting
Common issues and how to fix them.
Solutions to common problems you might hit when using crewkit.
Authentication expired
Symptom: 401 Unauthorized errors, or crewkit prompts you to log in again.
Fix: Access tokens expire after 4 hours. crewkit refreshes them automatically during active sessions. If you've been away:
crewkit auth loginProject not detected
Symptom: crewkit can't determine which project this repo belongs to.
Cause: Usually happens when:
- The git remote doesn't match any linked repository
- You're in a directory without a
.gitfolder - The organization doesn't have this repo linked
Fix:
# Initialize the project link
crewkit init
# Or let crewkit code handle it inline
crewkit codeNetwork errors
Symptom: Connection timeouts or DNS resolution failures.
Fix:
- Check your internet connection
- Verify the API is reachable: