Skip to main content

Error Message - 405


Use the Error Message screen to display backend-defined restriction messages when an operation fails with an HTTP 405 response.
The app presents this modal automatically and blocks the restricted action until the user acknowledges the message.


This screen includes:

  • A read-only message provided by the backend.
  • A single OK button to dismiss the modal.
  • Modal display that triggers only for HTTP 405 responses.
  • A blocking overlay that appears above the current screen.
  • No editable fields or secondary actions.

Workflow

Display a 405 Restriction Message

  1. The backend returns an HTTP 405 response for a requested operation.
  2. The app intercepts the response and opens the Error Message modal.
  3. The modal displays the message text exactly as provided by the backend.
  4. The user selects OK.
  5. The modal closes and the app returns to the previous screen state.

Validations

These scenarios describe how the app validates and displays the Error Message screen.

ScenarioApp BehaviorSDK Output
Backend returns HTTP 405.The app displays the Error Message modal immediately.Modal update with backend-provided text.
Message text exists in response body.The app renders the message without modification.Text appears as-is in the modal.
User attempts interaction while modal is open.The app blocks all background interaction.No additional SDK actions occur.
User selects OK.The app closes the modal and restores the prior screen.UI state returns to pre-error context.

Actions

These scenarios describe how the app responds to user and system actions.

ScenarioApp BehaviorSDK Output
A restricted operation triggers HTTP 405.The app stops the flow and displays the modal.Error update applied to the current page.
The user selects OK.The app dismisses the modal.UI state restoration without navigation.
Session logging is enabled.The app records the 405 event.Log entry stored under the active session.

Endpoint Resources

Error Message (405)

PUT 

/error-message

Displays a blocking error modal when the backend returns an HTTP 405 response.
The modal shows a backend-defined message and requires user acknowledgment before continuing.

UI Element Types

LevelReferenceTypeValuePlacement
1error-messageRegularThe operation cannot be completed, policy not found. For more details, please contact 0
1okButtonOk