Error Message - 405
Use the Error Message modal to display restriction messages returned with HTTP 405 responses.
The modal blocks the current flow until the user dismisses the message.
This screen includes:
| # | Element | Description |
|---|---|---|
| 1 | Message area | Displays backend-provided message text |
| 2 | OK action | Dismisses the modal |
| 3 | Blocking overlay | Prevents interaction with the underlying screen |
Workflow
This flow starts when the backend returns an HTTP 405 response.
- Receive an HTTP
405response. - Open the Error Message modal.
- Render the response message.
- Dismiss the modal.
- Restore the previous screen state.
Validations
| Scenario | App Behavior | SDK Output |
|---|---|---|
HTTP 405 returned | Display modal | state = error |
| Response includes message text | Render message | message = rendered |
| Background interaction attempted | Block interaction | overlay = active |
| OK selected | Close modal | state = dismissed |
Actions
| Scenario | App Behavior | SDK Output |
|---|---|---|
| Restricted operation fails | Open error modal | status = 405 |
| OK selected | Dismiss modal | state = restored |
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
| Level | Reference | Type | Value | Placement |
|---|---|---|---|---|
| 1 | error-message | Regular | The operation cannot be completed, policy not found. For more details, please contact 0 | |
| 1 | ok | Button | Ok |