Skip to main contentAPI & Authentication
”Invalid API Key” Error
Problem: Receiving 401 Unauthorized errors.
Solutions:
- Regenerate your API key from dashboard
- Ensure no extra spaces before/after the key
- Use format:
Authorization: Bearer YOUR_API_KEY
- Check key hasn’t expired or been revoked
Rate Limiting Issues
Problem: Receiving 429 Too Many Requests errors.
Solutions:
- Check your current plan’s rate limits
- Implement exponential backoff in your code
- Batch operations where possible
- Consider upgrading to a higher tier for increased limits
Getting Help
If these solutions don’t resolve your issue:
- Documentation: Review relevant guides in this documentation
- Community: Ask in our Slack community (paid plans)
- Support: Email support@roark.ai with:
- Your account email
- Error messages or screenshots
- Steps to reproduce the issue
- Time when issue occurred (with timezone)