INVALID_ACTING_USER

Invalid acting user id. X-Acting-User-Id is not an MDU_… staff id.

Status400
Retry?No

What it means

The header was sent, but it is not MDU_ followed by 12 characters of A–Z or 0–9. Internal numeric user ids are not accepted.

What to do

  • Send the staff member's MDU_… id, the value GET /v1/doctors returns as id.
  • Or leave the header out: it is optional, and the call is then attributed to the workspace admin.

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-acting-user",
  "title": "Invalid acting user id",
  "status": 400,
  "detail": "…",
  "instance": "/v1/…",
  "code": "INVALID_ACTING_USER",
  "requestId": "01JCX6Q4W3J7N8Y2H5K9M1B0VD"
}

All error codes · Error index