Pepvote Support Center

Errors

The error envelope and every error code the API returns.

Error envelope

All API errors use this shape:

{
  "error": {
    "code": "validation_error",
    "message": "name is required.",
    "details": {
      "field": "name"
    }
  }
}

details appears only when Pepvote has useful structured information.

Error codes

HTTP statusCodeMeaning
400bad_requestThe URL, query parameter, header, or HTTP method is invalid.
401unauthorizedThe API key is missing, invalid, deleted, or expired.
403insufficient_scopeThe key does not have the required scope.
403user_agent_requiredThe request does not have a User-Agent header.
403forbiddenThe key owner cannot perform this action. This can include a plan-gated feature.
404not_foundThe route or resource does not exist, or is not visible to the key owner.
409conflictA duplicate or already-used value conflicts with an existing resource.
422validation_errorThe body is invalid, a field is unknown, or an update has no fields.
422idempotency_mismatchAn idempotency key was reused with a different request.
422plan_limitThe action exceeds a plan limit.
429rate_limitedThe key has reached its request limit. Check Retry-After.
500internalPepvote could not complete the request. Retry with backoff.
Was this helpful?

Last updated September 6, 2026

On this page