UNKNOWN_FIELD
Unknown field. A parameter or body field the route does not accept.
| Status | 400 |
|---|---|
| Retry? | No |
What it means
Query parameters, and the appointment search body, are closed lists. A name that is not on the list, workspaceId included, is refused rather than ignored, because an ignored filter looks like a working one.
What to do
- Check the spelling against the endpoint page. Common slips: mrnNumber for mrn, startDate for fromDate, doctorId for doctorIds.
- Remove workspaceId. The workspace always comes from the key.
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/unknown-field",
"title": "Unknown field",
"status": 400,
"detail": "…",
"instance": "/v1/…",
"code": "UNKNOWN_FIELD",
"requestId": "01JCX6Q4W3J7N8Y2H5K9M1B0VD"
}