Skip to content

Troubleshooting

Regenerate Payload’s Import Map and confirm the package is installed in the Payload application’s runtime workspace. Do not replace the package component path in overrides.admin.components.

Check the paired lock field first. A locked slug is intentionally preserved. Confirm source, lockName, localization, and regenerateOnSourceChange. Consumer beforeValidate hooks run before final package normalization.

CodeMeaning
PAYLOAD_FIELDS_UNAUTHENTICATEDreq.user is absent
PAYLOAD_FIELDS_FORBIDDENgenerateSlugAccess rejected the request
PAYLOAD_FIELDS_INVALID_INPUTbody or value types are invalid
PAYLOAD_FIELDS_GENERATOR_NOT_FOUNDkey is not an own key in the registry
PAYLOAD_FIELDS_GENERATION_FAILEDthe registered generator threw

Your application mixed display units and stored minor units. REST, GraphQL, Local API, hooks, and jobs must use the integer storage representation. Use parseMoneyToMinorUnits only at a text-input or import boundary.

Inspect the stored ISO value and the intended picker appearance. Jalali is presentation, not an alternate database value. Avoid reparsing display strings in hooks.

Protected names/types, mismatched slug localization, invalid money bounds, unsafe integer limits, and invalid currency definitions fail synchronously. Fix the factory options instead of catching and suppressing the error.