Overview
Resolve API errors quickly, starting with basic checks, reviewing common error codes, then following the debugging steps to pinpoint the cause. If you still need assistance after troubleshooting, reach out to Rippling customer support for next steps.
Quick checks
Many common API errors can be resolved by ensuring that the correct endpoint, credentials, and permissions are in place.
- Check URL, version, and path parameters – Verify you are using the correct API base URL and version.
- Check authentication – Ensure your API key or token is valid and has not expired.
- Check permissions – Confirm your account or role has access to the requested endpoint.
Common status codes
| Status | Details | Next steps | Retry |
|---|---|---|---|
200 OK | Request succeeded (common on reads) | Use the response | — |
201 Created | Resource created successfully | Store the returned ID (and location header, if present) | — |
204 No Content | Success with no response body | Treat as success | — |
301 Moved Permanently | Endpoint URL is incorrect or outdated | Update your configured endpoint to the new URL | ❌ No |
400 Bad Request | Invalid payload, parameters, or headers | Fix the request to match the API specifications | ❌ No (fix required) |
401 Unauthorized | Authentication failed (missing, invalid, or expired token) | Verify your token is present, valid, unexpired, and sent in the correct header | ❌ No (fix required) |
403 Forbidden | Authenticated but missing required permissions | Request or enable the required permissions/scopes. See Fix 403 Forbidden errors. | ❌ No (fix required) |
404 Not Found | Resource not found or not accessible | Verify resource ID, environment, and permissions | ❌ No (fix required) |
409 Conflict | State conflict, duplicate, or version mismatch | Fetch latest state and resolve the conflict | ⚠️ Maybe |
422 Unprocessable Entity | Request is valid JSON but fails validation rules (missing required fields, invalid formats, constraint violations) | Inspect the response body for field-level errors and correct the input | ❌ No |
429 Rate Limit | Too many requests in a short period (rate limit exceeded) | Retry with exponential backoff | ✅ Yes |
500 Internal Server Error | Unexpected server-side failure | Retry with exponential backoff. If the error persists, contact customer support and include the x-rippling-request-id from the response headers. | ✅ Yes |
504 Gateway Timeout | Request timed out (large or slow query) | Retry with exponential backoff. Consider narrowing the request (reduce scope/date range). If the error persists, contact customer support. | ✅ Yes |
If the error starts with 4xx, it usually means something in the request needs fixing. If it starts with 5xx, it means something went wrong on Rippling's end.
Example error responses
Error bodies aren't the same for every status. These are the shapes the API returns:
// 400 Bad Request, from validation: a list of messages
["The provided identifier 'foo' is not valid. Please ensure it's a valid ObjectId."]
// 400 Bad Request, from an invalid filter expression
{"detail": "Invalid filter expression."}
// 401 Unauthorized: missing or invalid token
{"ok": false, "error": "Incorrect authentication credentials."}
// 403 Forbidden
{"detail": "Insufficient permissions to access this resource."}
// 404 Not Found
{"detail": "The requested resource with identifier '6a1b...' could not be found."}
Payroll endpoints return {"code": "...", "message": "..."} instead. An invalid or expired pagination cursor returns 404 with {"detail": "Invalid cursor"} on most list endpoints. Start again from the first page.
Fix 403 Forbidden errors
A 403 Forbidden response means the token authenticated but isn't allowed to do what you asked. Rippling checks the token's scopes first, then your company's API entitlements, then the permissions of the person who created the token. The first check that fails decides the error you get.
| Error | Cause | Solution |
|---|---|---|
403 on an endpoint you haven't called before | The token doesn't have the scope that endpoint needs. | Find the scope in API scopes, then add it to the token. Only the person who created the token can change its scopes. See Manage API tokens. |
403 with Insufficient entitlements for the resource | Your company doesn't have the entitlement that API needs. | Some APIs need a separate entitlement. Ask your Rippling account manager about access. |
403 with Insufficient privileges to access | The token's creator can't access that resource in Rippling. A token keeps the permissions of its creator, so a token that used to work fails once the creator loses access. | Use a token created by someone with access, or update the creator's permissions. See API tokens and permissions. |
403 with Insufficient permissions to access this resource. when you fetch one record by ID | The token's creator can't access that record. | Use a token created by someone who can access the record. |
A list returns fewer records than you expect, with a 200 | The token's creator can only access some employees, so the list only includes those. | Use a token created by someone with access to everyone you need. |
A field comes back null instead of a 403 | The token can see the record but not that field, so the field is redacted and listed in __meta.redacted_fields. | See Redacted fields. |
API debugging checklist
Once you’ve ruled out common access issues and error codes, narrow down the root cause:
Pinpoint the problem
- What were you trying to do? (e.g., “get user details”)
- When did it happen? (date/time)
- What error code or message did you see? Copy/screenshot if possible.
Narrow the scope
- Does this happen for all users or just one?
- Does it happen in all environments (test, staging, production) or just one?
- Can someone else reproduce the same issue?
Match the error
Use the error codes table to determine the cause of the error and apply quick fixes.
Take action
- Retry once or twice (wait a minute in between).
- Double-check inputs (IDs, spelling, formatting).
- Try with another account, item, or environment.
- If urgent, collect details and escalate to customer support.
Gather evidence
- Compare a working example vs the failing one — what’s different?
- Did anything recently change (password reset, new release, expired key)?
- Collect details for escalation or handoff:
- Error code / message
- Request ID (if shown)
- Time (UTC)
- Action attempted
Need more help?
If you’ve gone through the troubleshooting steps and still need assistance, please provide the following details when reaching out to customer support:
- The API endpoint (e.g., /users/123)
- The error code (e.g., 404)
- The time of the error (include timezone, preferably UTC)
- Any extra context (e.g., “worked yesterday, now fails”)
- The
x-rippling-request-idheader from the response, which identifies the request
Detailed API usage logs aren't available to customers. If you need them, ask your Rippling contact to submit a feature request.
Customers – Contact support@rippling.com or reach out to your Technical Account Manager or Account Manager.
Approved App Shop partners – If you’re building an integration for the Rippling App Shop, contact partner.support@rippling.com.