Skip to main content
object

Requires write_automations access scope. Also: The app must have write access to automations and act on behalf of a user.

A diagnostic of a recorded step execution, read only when selected. The state field says whether value is available, because null alone can't tell missing data from a recorded JSON null. A diagnostic field is null with an ACCESS_DENIED error when the run's step details aren't readable with the current permissions. While a TEST run is in progress and its permission requirements aren't searchable yet, a diagnostic field is null with an UNAVAILABLE error ("This test run's step details aren't readable yet. Try again."). Retry with backoff. If the requirements still aren't searchable 4 minutes after the test started, the field is an ACCESS_DENIED error; start a new test run. PRODUCTION runs never return UNAVAILABLE.

•Int

The byte limit that the value exceeded when state is too_large.

•String!
non-null

Availability or resolution state. One of available (the value was read, and it can be a JSON null), absent_or_dropped_at_ingestion (nothing was recorded for this field, or it was dropped when the run was stored), redacted (the execution's data was redacted), too_large (the value is larger than limitBytes, so it isn't returned), invalid_stored_data (the stored data can't be parsed), ambiguous (the stored records conflict, so no value can be trusted), not_found (the execution or its run is no longer found), not_applicable (the field doesn't apply to this execution, such as a condition field on a step that isn't a condition), definition_unavailable (the condition definition that the execution ran on is missing or can't be verified), too_many_results (there are more stored records than the field returns) or checkpoint_changed (a record is newer than the execution's checkpoint).

•JSON

The parsed JSON value when state is available.


Was this section helpful?