Skip to content

6. Observe, troubleshoot, disable and upgrade

Need Who Operation
What happened in a conversation You Admin console → flow runs (run, debug view); REST GET /v4/flows/runs/{runId}, GET /v4/flows/runs/{runId}/events, GET /v4/flows/runs/{runId}/transcript
Ask why a run did what it did Your agent, with a credential explicitly granted these (they are not in the Builder bundle) flow.run.get, flow.run.explain
Follow a purchase You Conversation run → purchase (pur_…) → order (ord_…) → payment → ledger entries for that payment
Symptom Likely cause Fix
Install refused: INSTALL_REQUIREMENTS_UNMET A requirement is missing Re-run the readiness preview (chapter 2)
Card provider “unavailable” Dummy instance not on rail card, or not bound to the catalog connector Recreate it with rail_code: card; check the connector’s IDs
Purchase refused: Dummy not permitted Dummy not enabled for your tenant Ask Orangepill (GET /v4/payments/dummy-psp/tenant shows the status)
Agent tool refused: CAPABILITY_NOT_ACTIVATED Payment actions are not available to agents Expected. A person or the customer performs it
Customer signed out mid-conversation The customer revoked consent Expected. They sign in again

Disable an entrypoint over the API with POST /v4/platform/blueprints/installations/{id}/customer-entrypoints/{key}/disable (permission flows:publish).

  • Conversations waiting on that entrypoint stop with entrypoint_not_live.
  • Re-enabling does not revive them.
  • Carts and orders are untouched.
Step Who Operation Success looks like
Upgrade An authorized person (intended actor; see above) Admin console → Blueprints → Upgrade; or REST POST /v4/platform/blueprints/installations/{id}/upgrade with the target version A handover report: preserved, removed, incompatible, added
Enable new entrypoints An authorized person, over the API Enable as in chapter 3 New entrypoints move from available to enabled
Roll back An authorized person, over the API (intended actor; see above) REST POST /v4/platform/blueprints/installations/{id}/rollback Previous installation serving again

During an upgrade:

  • Entrypoints whose contract did not change keep their customers’ permissions.
  • Changed or removed ones are revoked and listed.
  • If the new version does not become ready, the old one keeps serving.

Only upgrade to a version that has been accepted for your use.

  • Platform tests cover in-place upgrades with entrypoint handover, a superseded version being redirected, and disable/re-enable behaviour.
  • Docs acceptance on a prepared sandbox: pending.