Stop grinding and avoid adding more detergent or another cleaning product. Foam is useful evidence of what recently entered the sink, but it does not identify a motor fault or prove the drain is clear.
What the observation tells you
Recall whether a cleaning treatment, concentrated washing-up liquid or a connected appliance discharge preceded it. Do not run the disposer continuously to beat the foam down. If water is backing up or escaping into the cabinet, stop using the affected route.
A useful next step
Follow the relevant product's safety guidance and the disposer instructions. Tell the engineer which substances were used if foaming, poor drainage or leakage continues.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.