For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
guide

Troubleshoot REST API errors

Debug HTTP status codes, authentication failures, and API rate limits.

Use with AI:Rippling AI ChatGPT Claude Cursor

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​

StatusDetailsNext stepsRetry
200 OKRequest succeeded (common on reads)Use the response—
201 CreatedResource created successfullyStore the returned ID (and location header, if present)—
204 No ContentSuccess with no response bodyTreat as success—
301 Moved PermanentlyEndpoint URL is incorrect or outdatedUpdate your configured endpoint to the new URL❌ No
400 Bad RequestInvalid payload, parameters, or headersFix the request to match the API specifications❌ No (fix required)
401 UnauthorizedAuthentication failed (missing, invalid, or expired token)Verify your token is present, valid, unexpired, and sent in the correct header❌ No (fix required)
403 ForbiddenAuthenticated but missing required permissionsRequest or enable the required permissions/scopes. See Fix 403 Forbidden errors.❌ No (fix required)
404 Not FoundResource not found or not accessibleVerify resource ID, environment, and permissions❌ No (fix required)
409 ConflictState conflict, duplicate, or version mismatchFetch latest state and resolve the conflict⚠️ Maybe
422 Unprocessable EntityRequest 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 LimitToo many requests in a short period (rate limit exceeded)Retry with exponential backoff✅ Yes
500 Internal Server ErrorUnexpected server-side failureRetry with exponential backoff. If the error persists, contact customer support and include the x-rippling-request-id from the response headers.✅ Yes
504 Gateway TimeoutRequest 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.

ErrorCauseSolution
403 on an endpoint you haven't called beforeThe 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 resourceYour 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 accessThe 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 IDThe 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 200The 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 403The 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-id header 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.