core2-jvm (latest)
core2-jvm (latest)core-jvm
  • Home
  • Features
  • Spec
  • Guides
  • Sandbox
  • Step Studio
  • Step
    • Action
    • External
    • Help
    • Link Handler
    • Navigation
    • Persist Async
    • Polling
    • Refresh On Change
    • Schema On Change
    • Step Error
    • Suggestions
    • Summary
    • Toolbar
    • Upload
    • Validate Async
    • Schema
    • All Of Schema
    • Array Schema
    • Blob Schema
    • Boolean Schema
    • Const Schema
    • Integer Schema
    • Number Schema
    • Object Schema
    • One Of Schema
    • String Schema
    • Layout
    • Alert Layout
    • Box Layout
    • Button Layout
    • Columns Layout
    • Decision Layout
    • Divider Layout
    • Form Layout
    • Heading Layout
    • Image Layout
    • Instructions Layout
    • List Layout
    • Loading Indicator Layout
    • Markdown Layout
    • Media Layout
    • Modal Layout
    • Paragraph Layout
    • Progress Layout
    • Review Layout
    • Search Layout
    • Section Layout
    • Status List Layout
    • Tabs Layout
    • Upsell Layout
    • Behavior
    • Action Behavior
    • Copy Behavior
    • Dismiss Behavior
    • Link Behavior
    • Modal Behavior
    • Refresh Behavior
    • Subflow Behavior
    • Subflow
    • Dynamic Launch Config
    • Launch Config
    • Modal Presentation
    • Native Launch Config
    • Presentation
    • Push Presentation
    • Action Response Body
    • Error Response Body
    • Flow Response
    • Modal Response Body
    • No Op Response Body
    • Search Initial Layout Config
    • Search Initial Results Config
    • Search Initial State
    • Search Layout Response Body
    • Search Response
    • Search Response Body
    • Search Result
    • Search Results Response Body
    • Subflow Response Body
    • Additional Info
    • Align
    • Autocapitalization Type
    • Autocomplete Token
    • Context
    • Icon
    • Image
    • Inline Alert
    • Media
    • Native Capabilities
    • Request
    • Size
    • Supporting Values
    • Control
    • Tag

Error Response Body

Android - 8.25.0 iOS - 11539 Web - 2.5.0

Represents an error response body.

A response is determined to be an error when the status code of a response is outside of the 200-299 range.

Properties

PropertyTypeRequiredDescription

analytics

Map<String, String>

No

Additional data to be included in any analytics events generated by clients for this error.

Android - 8.49.0 iOS - 8.45 Web - 3.0.2

errorStringNoA user-facing, general error message, not related to any particular schema.
refreshUrlStringNoIf present, the client will refresh the step using the given URL. Any errors also present in the response should be applied to the refreshed step. See Refresh On Change.
validationAnyNoError messages related to specific fields. The structure of this value must match the structure of the data to be validated. For example, given the following model: { "name": "A Person", "bankDetails": { "accountNumber": "31510604", "sortCode": "100000" } } A validation message for the "sortCode" field would be provided as follows: { "bankDetails": { "sortCode": "Please enter a valid sort code" } } Multiple validation messages can be returned at once, for example: { "name": "Please enter a full name", "bankDetails": { "sortCode": "Please enter a valid sort code" } }