← All types

JourneyPayload

Result of a journey create / update / publish: either the resulting journey or the validation errors that prevented the write.

Fields

The journey as it stands after the mutation; null when errors is non-empty.

errors

[FieldError!]!Non-null

Field-level validation errors (e.g. an invalid definition, a TEAM-scoped journey with no teams, unknown team ids). Empty on success. Authorization failures are raised as GraphQL errors instead, not reported here.

Referenced by (6)
Exact type SDL
"""
Result of a journey create / update / publish: either the resulting journey or the validation errors that prevented the write.
"""
type JourneyPayload {
  """
  The journey as it stands after the mutation; null when `errors` is non-empty.
  """
  journey: Journey
  """
  Field-level validation errors (e.g. an invalid definition, a TEAM-scoped journey with no teams, unknown team ids). Empty on success. Authorization failures are raised as GraphQL errors instead, not reported here.
  """
  errors: [FieldError!]!
}