API error · HTTP 400

invalid_id

wrong id type or malformed id.

What it means

wrong id type or malformed id.

How to handle it

Use the expected resource prefix and pass the opaque identifier exactly as the API returned it.

Wire contract

Codeinvalid_id
Classinvalid_request
HTTP status400
Meta keysexpected_prefix, received_prefix
RaisedYes

The response uses the standard {"error": {…}} envelope. Branch on error.code, not the human-readable message. Preserve request_id when reporting a failure.