Inspect existing evidence before retrying. Installation checks are only needed
when the CLI or setup is failing.
1. Check installation
2. Check the effective workspace
DEEPLINE_API_KEY into your shell.
A raw HTTP caller needs its own supported server-side credential setup.
Do not print keys into logs to diagnose this difference.
3. Separate discovery from input errors
deepline plays check <file>.
For CSV failures, use file validation.
Do not build a retry sample by splitting physical lines with head.
4. Inspect existing work
For a Play, inspect the saved run:Separate runtime status from the business result
A completed handler can return no match. A failed run can retain useful
intermediate work. The compact status response does not embed all dataset rows
or full saved tool results; use their retrieval paths in
Call Plays and
Run logs and events.
If research completed but a CRM task request timed out, inspect the accepted
research, write attempt, and destination independently. Preserve the version
and decision evidence; reconcile whether the task exists before repeating it.
Unavailable or expired response evidence remains unknown. Retained counts cover
retained records, and runtime retention is not a permanent business archive.
Persist accepted field provenance in customer working data when it must outlive
the run; see Repair CRM records.
5. Reconcile usage separately
6. Diagnose connections and external writes
A provider 401 or 403 indicates an access problem, not an empty dataset. Check the intended workspace connection and the selected action’s requirements. Only owners and admins can connect integrations through the supported flow. A write timeout can leave an uncertain destination outcome. Read and reconcile that state before repeating the mutation. A successful connection does not prove that every property update is allowed. Use Integrations, Repair CRM records, and Integrate a Play into your app for the specific path.7. Diagnose Database access
A successful empty query means no returned matches under that query. A permission error means the statement did not establish those data facts. Use Query a database for permitted customer SQL. Customer-owned tables and Deepline-managed views have different write rules. A direct Postgres integration uses its own connected database and permissions.8. Prepare a useful report
Record the expected result, observed result, operation, and exact error. Keep the relevant run or execution identity for a targeted follow-up. Exclude credentials and unrelated customer records.The report identifies the failed boundary and whether work may already exist.
It does not substitute an empty result, zero charge, or a fresh run for
uncertainty.