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

StatusMeaning
400The request is malformed, for example a required parameter is missing.
401The token is missing, invalid, expired or revoked. See Authentication.
402The account's plan doesn't allow this action, for example activating a campaign without an active subscription.
403The token lacks a scope (insufficient_scope) or belongs to another account (account_mismatch).
404The resource doesn't exist, or belongs to another account.
422The request was understood but refused: validation failed, or the action isn't allowed in the current state.
429Too many requests. See Rate limits.
502Google 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

CodeStatusReturned byMeaning
insufficient_scope403Any endpointThe token lacks the scope in required_scope.
account_mismatch403Any endpointaccount_id names an account the token doesn't belong to.
reply_exists422Create review replyThe review already has a reply. Update it instead.
invalid422Create or update review replyValidation failed, for example a blank comment. Messages are in errors.
gbp_not_linked422Create or update review replyThe review's location isn't linked to a Google Business Profile.
gbp_disconnected422Create or update review replyGoogle access expired or was revoked. Reconnect Google in the app.
google_error502Create or update review replyGoogle returned an error. Nothing was saved. Retry later.
noreview422Create enrollmentThe contact is tagged noreview.
campaign_inactive422Create enrollmentThe campaign isn't active.
already_enrolled422Create enrollmentThe 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.