Discrepancy
Whether desired and observed disagree, and why.
hasDiscrepancy is always present. The other fields appear only when it is true.
Sous Chef does not report when a discrepancy was first detected. A discrepancy is a standing condition rather than an event, so treat it as true as of lastPolledAt on the status that carries it and re-read to see whether it still holds.
Fields
- hasDiscrepancyboolean
Whether Sous Chef currently records a discrepancy between the storefront's desired and observed state, from its last platform-status check. It can be
falsewhiledesired.stateandobserved.statediffer, so compare those two yourself if you need every difference. Always present. - classificationstring
Why the two sides disagree. One of four values:
pauseNotPropagated: Sous Chef's desired pause/unpause has not reached the platform yet. Auto-remediable through the API. Reserved: Sous Chef does not report this value today.unexpectedPlatformPause: the platform shows the store paused when Sous Chef did not ask for it (typically paused from the platform's own merchant tools). Needs a human, via the merchant portal.deactivatedByPlatform: the platform took the store down by its own decision (enforcement, quality or fraud review, removal, suspension). Needs a human, via platform support.unclassified: the explicit fallback. A discrepancy exists but its reason matches none of the values above (for example an unknown or raw platform error). Needs a human.
New values may be added. Treat a value you do not recognise like
unclassified.Possible values: [pauseNotPropagated, unexpectedPlatformPause, deactivatedByPlatform, unclassified] - autoRemediableboolean
Whether re-sending Sous Chef's desired state through the platform API is expected to clear the discrepancy on its own (only a pause that did not propagate). Present only when
hasDiscrepancyistrue. - requiresHumanInterventionboolean
No API on either side can fix this. Route it to a human.
- remediationChannelstring
Where the fix has to happen.
api: re-send the desired state through the platform API.merchantPortal: change it in the platform's merchant portal.platformSupport: only the platform's support team can resolve it (e.g. the platform deactivated the store). Absent whenhasDiscrepancyisfalse, and also absent when Sous Chef could not classify the discrepancy.Possible values: [api, merchantPortal, platformSupport]