Documentation

PROMPT_VERSION_NOT_FOUND

404invalid_request

No prompt version with that hash.

Cause

The (agent_type, version_hash) pair is not a registered PromptVersion.

How to fix it

Create the version first, or correct the version_hash. Hashes are content-derived, so a whitespace change yields a different hash.

Example response

404 PROMPT_VERSION_NOT_FOUND
JSON
{
  "error_code": "PROMPT_VERSION_NOT_FOUND",
  "error_type": "invalid_request",
  "error_message": "No prompt version with that hash.",
  "hint": "Create the version first, or correct the version_hash. Hashes are content-derived, so a whitespace change yields a different hash.",
  "docs_url": "https://docs.billerapi.com/errors/PROMPT_VERSION_NOT_FOUND",
  "request_id": "d94f5e2a-8c3b-4f1e-9a7d-6b2c1e0f8a34"
}

Related

Canonical docs URL: https://docs.billerapi.com/errors/PROMPT_VERSION_NOT_FOUND

Was this page helpful?