Przejdź do treści

reference_not_found

Plugin API error reference_not_found — a session_config reference names nothing this installation's account can use.

HTTP 422 · not retryable

A session's session_config.model_id, session_config.scenery_id or session_config.preset_id names nothing the account behind your installation can use. The session is refused before any credits are reserved, and no order is created.

A reference can be used when it is one of these:

  • a public catalogue entry;
  • an entry the account owns;
  • a catalogue entry the account added, even if it has since been withdrawn from the catalogue.

An archived entry cannot be used, including the account's own. The error is the same for an id that exists and one that does not. The message names the field and the id you sent.

The same check runs on POST /jobs, on every item of POST /jobs/batch (where it fails that item only), and on POST /orders/{id}/clone. A clone checks the references of the order it copies, so an order whose model has been archived since can no longer be cloned.

How to fix

  • Pick the reference from the list for the same installation: GET /models, GET /sceneries or GET /presets. Every id those lists return passes this check.
  • Do not reuse ids saved from another installation or another account. They belong to that account.
  • If a clone is refused, submit a new session through POST /jobs with a model, scenery or preset from the lists.
  • Retrying the same request without changing the reference fails the same way.