Troubleshoot Healthcheck Payload
PAYLOAD_QUERY_FAILEDwith a cause: verify Payload initialization, collection slug, access context, adapter connectivity, and query shape.- The query succeeds but health is unhealthy:
totalDocsis belowexpectedMinDocuments. - Readiness is slow: keep
limitsmall,depthzero, remove broad filters, and check database latency. - The app restarts during a database outage: do not add this check to liveness.
Log causes privately; return only the safe core error message publicly.