Do not substitute a hand dishwashing product for the laundry detergent specified for the appliance. Products made for a sink can have very different foaming and dosing behaviour in a washing machine.
Understanding this situation
A small-looking amount is not a dependable safe conversion, and adding another chemical to suppress the foam can create a second problem. The machine's normal water levels and drum movement assume a suitable laundry product. Excessive foam can obscure what is happening and may be accompanied by leakage or a stopped programme.
A useful next step
Wait until you have an appropriate product rather than improvising. If a substitute has already been used, stop adding anything and consult the appliance's guidance for the situation. Keep clear of wet electrical areas. Tell the repair team the actual product and approximate amount used; that information is more useful than a generic report of bubbles.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.