Common Errors
401 Unauthorized
Error message:- Missing API key
- Invalid API key
- Expired API key
-
Check API key is included
-
Verify key format
- Include “Bearer ” prefix
- No extra spaces
- Complete key (not truncated)
-
Generate new key
- Old key may be deleted
- Create fresh API key
403 Forbidden
Error message:- Key doesn’t have required permissions
- Accessing restricted resource
- Check your account permissions
- Verify resource access rights
- Contact workspace owner if needed
API Key Best Practices
Storing Keys
- Use environment variables
- Never commit to version control
- Rotate keys periodically
Key Security
- Keep keys confidential
- Don’t share in public channels
- Delete unused keys
Generating New API Key
- Open Settings in sidebar
- Go to API tab
- Click “Generate API Key”
- Copy immediately (shown once)
- Store securely
Testing Your Key
Verify your key works:Common Mistakes
| Mistake | Fix |
|---|---|
| Missing “Bearer “ | Add “Bearer ” before key |
| Extra whitespace | Trim spaces from key |
| Wrong header name | Use “Authorization” |
| Truncated key | Copy complete key |
| Using old key | Generate new key |
Rate Limiting
429 Too Many Requests
If you see this error:- Reduce request frequency
- Implement exponential backoff
- Cache responses when possible
Getting Help
If issues persist:- Note the exact error message
- Include request details (without key)
- Contact support

