frappe / twilio-integration

Twilio integration for ERPNext
Other
56 stars 74 forks source link

Whatsapp Notification Error #42

Open megha0071994 opened 2 years ago

megha0071994 commented 2 years ago

Information about bug

I have integrated twilio for using whatsapp notification and I'm getting this error. What I'm doing wrong. Please help me. Thank you..

Module

integrations, other

Version

ERPNext: v13.28.0

Frappe Framework: v13.28.0

Twilio Integration: v0.0.1

Installation method

manual install

Relevant log output / Stack trace / Full Error Message.

Traceback (most recent call last):
  File "apps/frappe/frappe/email/doctype/notification/notification.py", line 147, in send
    self.create_system_notification(doc, context)
  File "apps/frappe/frappe/email/doctype/notification/notification.py", line 178, in create_system_notification
    if "{" in subject:
TypeError: argument of type 'NoneType' is not iterable
megha0071994 commented 2 years ago

Now I'm getting this error.

HTTP 400 error: Unable to create record: The 'From' number whatsapp:+xxxxxxxxxxx is not a valid phone number, shortcode, or alphanumeric sender ID.