HTTP Error Codes
All StackOne API errors follow a consistent response format:Error Code Reference
Common Error Scenarios
400 Bad Request
Causes:- Missing required fields in request body
- Invalid field types (e.g., string instead of number)
- Malformed JSON
401 Unauthorized
Causes:- Missing
Authorizationheader - Invalid API key
- Expired OAuth credentials for linked account
Fix:
- Verify your API key is correct and has appropriate scopes
- For expired credentials, ask your customer to re-authenticate via the Integration Hub
403 Forbidden
Causes:- API key lacks required scope
- Linked account lacks permissions in the provider
- Provider account settings restrict the operation
- Check API key scopes in the Dashboard
- Verify the linked account has permissions in the provider’s admin settings
404 Not Found
Causes:- Resource ID doesn’t exist
- Resource was deleted
- Invalid
account_idheader
408 Request Timeout
The request took too long to complete. The response includes aRetry-After: 60 header.
Fix: Wait 60 seconds and retry. For large data sets, use pagination with smaller page sizes.
412 Precondition Failed
Cause: The linked account belongs to an integration that has been disabled. Error code:AccountIntegrationInactiveError
Fix: Re-enable the integration in Dashboard → Integrations, or ask the customer to re-link their account.
429 Too Many Requests
Rate limit exceeded. The response may include aRetry-After header.
Fix:
- Implement exponential backoff in your retry logic
- Use the StackOne SDK’s built-in
retryConfigoption - Reduce request frequency
501 Not Implemented
The requested action isn’t supported for this provider. Fix: Check the Field Coverage page to see which operations are supported for each provider.502 Bad Gateway
An error occurred when calling the upstream provider. Example response:- Check the
provider_errorsarray for details about the upstream failure - The provider may be experiencing downtime. Check status.stackone.com for known incidents
- Retry with exponential backoff
Provider Errors
When the underlying provider API returns an error, the StackOne Unified API includes any data returned by the provider in theprovider_errors array:
Getting Help
For any unresolved issues or further assistance, contact our support team via your dedicated Slack channel or at support@stackone.com.Status Page
Check system status and incidents
Request Tester
Debug requests directly in the dashboard
Request Logs
View detailed request history
AI Error Explainer
Get AI-powered error resolution steps