MARKLESS_PAYLOAD_INVALID
Invalid resumability payload: a Markless runtime error.
Error from the runtime, while a page renders or runs.
What happened
Markless prints the message, the reason, and a suggestion:
MARKLESS_PAYLOAD_INVALID: Missing <type> payload script.
The markless/state payload did not match the resumability protocol shape required by this runtime.
Regenerate the markless/state payload with the matching markless compiler/runtime version.
https://markless.dev/errors/MARKLESS_PAYLOAD_INVALID
Words in angle brackets change from case to case.
How to fix it
Start with the suggestion in the message above.
This page has no guide yet. Help write it.
Where it comes from
@markless/serializer raises this code. Source:
- packages/serializer/src/protocol-client.ts
- packages/serializer/src/protocol-validation.ts
- packages/web/src/event-only-lean/lean-shared.ts
- packages/web/src/event-only-lean/scalar-core.ts
- packages/web/src/payload-document-common.ts
- packages/web/src/fns/scalar-specialized.ts
Read how to read a Markless error, or go back to all error codes.
