INVALID_ENCODING

A file could not be decoded.

What happened

A file's content couldn't be decoded with its encoding (bad base64, invalid UTF-8), or its bytes don't match its extension.

Fix

Send images, fonts and PDFs as base64 with encoding "base64", and text as UTF-8; make sure each extension matches the real format. Each piece of a file sent in pieces must decode on its own.

What to tell the user

Nothing.

Agent hint

The exact error.hint text; Carnival fills each <…> for the call.

<path> could not be decoded. Send images, fonts and PDFs as base64 with encoding "base64", and text as UTF-8.

All error codes: error codes

This page as Markdown