Errors
The Review Rover API uses standard HTTP status codes. Error bodies are JSON, and newer endpoints include a stable code you can branch on.
Status codes
| Status | Meaning |
|---|---|
400 | The request is malformed, for example a required parameter is missing. |
401 | The token is missing, invalid, expired or revoked. See Authentication. |
402 | The account's plan doesn't allow this action, for example activating a campaign without an active subscription. |
403 | The token lacks a scope (insufficient_scope) or belongs to another account (account_mismatch). |
404 | The resource doesn't exist, or belongs to another account. |
422 | The request was understood but refused: validation failed, or the action isn't allowed in the current state. |
429 | Too many requests. See Rate limits. |
502 | Google returned an error while publishing a review reply. Nothing was saved. |
Error shapes
Endpoints return one of these shapes. The API reference shows which one each endpoint uses.
Message
{ "error": "Contact not found" }
Message list
{ "error": ["Email already exists"] }
Errors list
{ "errors": ["Name can't be blank"] }
Coded error
{ "error": "A reply already exists for this review. Pass overwrite to replace it.", "code": "reply_exists" }
Prefer the code when there is one. The error text is for people and can change.
Error codes
| Code | Status | Returned by | Meaning |
|---|---|---|---|
insufficient_scope | 403 | Any endpoint | The token lacks the scope in required_scope. |
account_mismatch | 403 | Any endpoint | account_id names an account the token doesn't belong to. |
reply_exists | 422 | Create review reply | The review already has a reply. Update it instead. |
invalid | 422 | Create or update review reply | Validation failed, for example a blank comment. Messages are in errors. |
gbp_not_linked | 422 | Create or update review reply | The review's location isn't linked to a Google Business Profile. |
gbp_disconnected | 422 | Create or update review reply | Google access expired or was revoked. Reconnect Google in the app. |
google_error | 502 | Create or update review reply | Google returned an error. Nothing was saved. Retry later. |
noreview | 422 | Create enrollment | The contact is tagged noreview. |
campaign_inactive | 422 | Create enrollment | The campaign isn't active. |
already_enrolled | 422 | Create enrollment | The contact is already enrolled in the campaign. |
Rate limits
Each IP address can make 300 requests per minute to /api/*. Over the limit, the API returns 429 with a Retry-After header:
429 response
{ "error": "rate_limited", "message": "Too many requests. Retry later.", "retry_after": 30 }
Wait retry_after seconds before retrying.
