shridarpatil / frappe_whatsapp

WhatsApp cloud integration for frappe
https://www.youtube.com/watch?v=nq5Kcc5e1oc
Other
171 stars 162 forks source link

Failed to trigger whatsapp message: (#100) Invalid parameter #43

Closed ravaljay23 closed 10 months ago

ravaljay23 commented 11 months ago

From Today, It is failed to trigger whatsapp message for me

Here is Whatsapp notification log. { "error": { "code": 100, "error_data": { "details": "Parameter 'text' is mandatory for component parameter type 'text'", "messaging_product": "whatsapp" }, "fbtrace_id": "AauRgAP8m_ImekhgAZPeC7d", "message": "(#100) Invalid parameter", "type": "OAuthException" } }

shridarpatil commented 10 months ago

can you check the request payload? Looks like the text field is not sent to the api.

ravaljay23 commented 10 months ago

Working now. there was some custom field in doctype in which the response value are "null" and it's used in Whatsapp Notification. due to that error was generated.