APPOINTMENT_INVALID
Appointment cannot be booked as sent: what the APPOINTMENT_INVALID error means and how to fix it.
HTTP 422. Problem type: https://docs.ovok.com/errors/appointment-invalid.
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
- Send the Appointment with
status: proposed, itsstartandend, and eitherslotreferences or thescheduleparameter. - Read each named Slot, Schedule or cancelled Appointment as the same caller:
GET /fhir/R4/Slot/<id>. - Name slots that together cover the appointment's whole time.
Retry safely
Safe to send again once the request is corrected; a refused booking writes nothing.
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 explains the response fields, and the machine-code registry lists every endpoint-specific type.
Last updated on