# APPOINTMENT_INVALID

Canonical page: https://docs.ovok.com/errors/appointment-invalid

**HTTP 422.** Problem type: [`https://docs.ovok.com/errors/appointment-invalid`](https://docs.ovok.com/errors/appointment-invalid).

## What this means [#what-this-means]

`POST /fhir/R4/Appointment/$book` could not book the Appointment as sent. It is not `proposed`, has no `start` or `end` (or ends before it starts), names neither a slot nor a `schedule`, or names a slot, schedule or `cancelled-appt-id` you cannot read. Named slots that do not overlap or cover the appointment are refused too. Nothing was written.

## Troubleshooting [#troubleshooting]

1. Send the Appointment with `status: proposed`, its `start` and `end`, and either `slot` references or the `schedule` parameter.
2. Read each named Slot, Schedule or cancelled Appointment as the same caller: `GET /fhir/R4/Slot/<id>`.
3. Name slots that together cover the appointment's whole time.

## Retry safely [#retry-safely]

Safe to send again once the request is corrected; a refused booking writes nothing.

## If the problem persists [#if-the-problem-persists]

Share the HTTP status, problem `type`, request path, response timestamp and `traceId` with your administrator or support contact. Remove access tokens, provider secrets and patient data first. The [Error responses guide](/errors) explains the response fields, and the [machine-code registry](/errors/machine-codes) lists every endpoint-specific type.
