Show Submit Error
Use Show Submit Error to display a claim submission error for the selected error value.
This screen includes:
| # | Element | Description |
|---|---|---|
| 1 | Event details section | Displays the claim event details form. |
| 2 | Instruction text | Displays Provide details for your claim. |
| 3 | Reason for claim field | Accepts the claim reason. |
| 4 | Required field error | Displays This section is required when the claim reason is missing. |
| 5 | Attach document action | Adds a supporting document to the claim. |
Workflow
- Submit a claim.
- Validate the selected policy, appointment, and claim details.
- Display the submit error state when validation fails.
- Show the error message for the selected error value.
- Let the user update the claim details and submit again.
Validations
| Scenario | App behavior | SDK output |
|---|---|---|
| Session invalid | Block claim submission | state = unauthenticated |
| Claim reason missing | Display required field error | validation = reason_required |
| Policy no longer valid | Display policy error | error = invalid-policy-message |
| Policy not found | Display policy not found error | error = policy-not-found |
| Policy date not valid | Display policy date error | error = policy-dates-not-valid |
| Appointment time in the past | Display appointment time error | error = appointment-time-in-the-past |
| Retroactive appointment time in the future | Display retroactive appointment error | error = retroactive-appointment-time-in-the-future |
| Request rejected | Display error state | status = 405 |
Actions
| Scenario | App behavior | SDK output |
|---|---|---|
| Submit error returned | Load submit error screen | PUT /api/v3/claims/submit/error |
| Claim reason entered | Update claim reason | reason = updated |
| Document attached | Add supporting document | attachment = added |
| Error value selected | Display mapped error message | error = selected |
| Claim details updated | Preserve updated claim state | claim = updated |
| Request rejected | Preserve current claim state | state = unchanged |
Error Values
| Error value | Description |
|---|---|
invalid-policy-message | Policy coverage is no longer valid for claim submission. |
policy-not-found | Policy cannot be found. |
policy-dates-not-valid | Policy is not valid on the appointment date. |
appointment-time-in-the-past | Appointment time is in the past. |
retroactive-appointment-time-in-the-future | Retroactive appointment time is in the future. |
Endpoint Resources
Show Submit Error
PUT
v3/claims/submit/error
Returns the claim submit error screen for the selected error value.