Skip to content

payload-operations — Optimization

Use a codec or overwrite for output and declared error data that need conversion. A one-way transform cannot be encoded by the server.

Pass overrideAccess: false and req when a handler calls a Payload Local API on behalf of the caller.

Requests over 1 MiB return 413 PAYLOAD_TOO_LARGE by default. Set maxBodyBytes when the operation needs a larger body.

The ./server subpath requires Node.js 20.9 or newer. The root, contract, errors, client, CMS, and timeout plugin subpaths are universal.

Package guidance · Implementation. · Matching skill.