On this page

API

plan_expired

HTTP 410. Plan expired

What it means

Plans can be fetched for 24 hours only.

What to do

Run plan_goal again. Orders created from the plan keep their own snapshot and are unaffected.

Retrying

Do not retry the same request. Change it first.

Example

json
{
  "type": "https://reuseforge.com/docs/api/errors/plan_expired",
  "title": "Plan expired",
  "status": 410,
  "detail": "This plan expired. Plans are kept for 24 hours.",
  "instance": "/api/v1/items/acme/invoice-extractor",
  "code": "plan_expired",
  "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.