On this page

API

purchase_required

HTTP 403. Purchase required

What it means

Reviewing or accessing this needs a verified purchase.

What to do

Buy the item first (or install a free item at least once), then retry. Reviews are tied to a real purchase or install.

Retrying

Do not retry the same request. Change it first.

Example

json
{
  "type": "https://reuseforge.com/docs/api/errors/purchase_required",
  "title": "Purchase required",
  "status": 403,
  "detail": "Only buyers and installers can review an item.",
  "instance": "/api/v1/items/acme/invoice-extractor",
  "code": "purchase_required",
  "request_id": "req_c4v8n2m6x1z3"
}

Every error is application/problem+json (RFC 9457). Branch on code, show detail to people and quote request_id when you ask for help. See the error catalogue.