API error · HTTP 400

invalid_base64

content.data did not decode.

What it means

content.data did not decode.

How to handle it

Encode the content bytes as valid base64; accepted padding and data-URL variants do not make invalid bytes valid.

Wire contract

Codeinvalid_base64
Classinvalid_request
HTTP status400
Meta keysNone
RaisedYes

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