Skip to main content
If you’re getting authentication errors when using the API, follow these troubleshooting steps.

Common Errors

401 Unauthorized

Error message:
Causes:
  • Missing API key
  • Invalid API key
  • Expired API key
Solutions:
  1. Check API key is included
  2. Verify key format
    • Include “Bearer ” prefix
    • No extra spaces
    • Complete key (not truncated)
  3. Generate new key
    • Old key may be deleted
    • Create fresh API key

403 Forbidden

Error message:
Causes:
  • Key doesn’t have required permissions
  • Accessing restricted resource
Solutions:
  1. Check your account permissions
  2. Verify resource access rights
  3. 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

  1. Open Settings in sidebar
  2. Go to API tab
  3. Click “Generate API Key”
  4. Copy immediately (shown once)
  5. Store securely

Testing Your Key

Verify your key works:
Expected response:

Common Mistakes

Rate Limiting

429 Too Many Requests

If you see this error:
  1. Reduce request frequency
  2. Implement exponential backoff
  3. Cache responses when possible

Getting Help

If issues persist:
  1. Note the exact error message
  2. Include request details (without key)
  3. Contact support

DNS Issues

Learn more

Editor Issues

Learn more