INVALID_PARAMETER
Invalid parameter. A value is malformed, out of range, or names something this workspace does not have.
| Status | 400 |
|---|---|
| Retry? | No |
What it means
A parameter has the right name but an unusable value: a date that is not YYYY-MM-DD, an updatedSince with no offset, a size over 100, an appointment reference that is not SCHEDULED:<id>, or an MDU_… id this workspace does not know. errors[] names the field.
An unknown practitioner id is a 400 rather than an empty page on purpose: an empty page would read as "this practitioner has no records".
What to do
- Fix the value named in errors[].
The response
Served as application/problem+json. Branch on code; detail describes this occurrence and can change wording at any time.
{
"type": "https://docs.medos.one/errors/invalid-parameter",
"title": "Invalid parameter",
"status": 400,
"detail": "…",
"instance": "/v1/…",
"code": "INVALID_PARAMETER",
"requestId": "01JCX6Q4W3J7N8Y2H5K9M1B0VD"
}