Twilio WhatsApp Extension - The more ways you can connect with your customers, the more sales and support wins you can achieve. The Brainvire WhatsApp Extension enables you to conveniently communicate with clients via WhatsApp messages in SuiteCRM.
#5339 - Not able to send messages
Hi I have installed the addon on suite crm version 8. But it is not allowing me ot run yarn run build-dev and also I can't see the whatsapp icon in front of phone numbers in suite crm.
4 months ago
Hello
Are you trying to run yarn run build-dev from docroot in terminal? Once you build the code, and clear the browser cache you will be able to see whatsapp icon on UI.
Thank You, Brainvire Team
4 months ago
We have tried running inside public_html, public_html/public and also inside public_html/public/legacy but none of them is working and we are getting error after running the command yarn run build-dev 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'run'
4 months ago
Hello
Please run 'yarn install' first under public_html folder. Once its complete, please run 'yarn run build-dev' from docroot
Thank you, Brainvire Team
4 months ago
yarn install is also not working and giving the below error: yarn install 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'
Somehow it is not able to identify any keyword after yarn
4 months ago
Hello,
Can you please let me know your suitecrm version. Also can you please post screenshot here after typing ng version in your docroot. This is to cross verify all your software versions are as per suitecrm compatiblity matrix
Thank you, Brainvire Team
4 months ago
This is still not working. Here are the output of the commands:
Suite CRM Version: 8.6.0
Here's the screenshot of ng version:![image.png image.png](https://store.suitecrm.com/assets/img/support/bv-whatsapp-extension/7739835c17995cbc1b23be7ef1c83c0c/image.png)
This is the error I am getting after running yarn build:
Building entry point 'core'
✖ Compiling with Angular sources in Ivy full compilation mode. core/app/core/src/lib/fields/phone/templates/detail/whatsapp-modal/whatsapp-modal.component.ts:103:9 - error TS2554: Expected 3 arguments, but got 2.
103 super(typeFormatter, logic); ~~~~~~~~~~~~~~~~~~~~~~~~~~~
core/app/core/src/lib/fields/base/base-field.component.ts:52:9 52 protected logicDisplay: FieldLogicDisplayManager ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ An argument for 'logicDisplay' was not provided. core/app/core/src/lib/fields/phone/templates/detail/phone.component.ts:47:9 - error TS2554: Expected 3 arguments, but got 2.
47 super(typeFormatter, logic); ~~~~~~~~~~~~~~~~~~~~~~~~~~~
core/app/core/src/lib/fields/base/base-field.component.ts:52:9 52 protected logicDisplay: FieldLogicDisplayManager ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ An argument for 'logicDisplay' was not provided.
3 months ago
Hello
Will check and revert ASAP
Thank you, Brainvire Team
3 months ago
Hi Brainvire team,
I haven't heard back from you on this. Can you help us in fixing this issue?
3 months ago
Sure. Will check and let you know ASAP
3 months ago
Hi Brainvire team,
Any update on the error reported above?
3 months ago
Hello
yes we have resolved the issue. Will update the package in store and update you soon
Thank You, Brainvire Team
3 months ago
Hello
We have updated the package and uploaded in store. Please take the latest package and verify
Thank You, Brainvire Team.
3 months ago
Hello
Are you able to proceed with Twilio Whatsapp package. Are you facing any issue, Please let us know if any
Thank you, Brainvire Team
3 months ago
I installed the newer package but issue remains the same can't see that whatsapicon in front of phone numbers.
Here's the error in suitecrm log files:
on May 13 13:52:37 2024 [505132][1][FATAL] bv_whatsapp_angular/config/services/module/listview/bulk_actions.yaml Mon May 13 13:52:37 2024 [505132][1][FATAL] bv_whatsapp_angular/config/services/module/listview/bulk_actions.yaml Mon May 13 13:52:37 2024 [505132][1][FATAL] bv_whatsapp_angular/core/app/common/src/lib/record/record.model.ts Mon May 13 13:52:37 2024 [505132][1][FATAL] bv_whatsapp_angular/core/app/common/src/lib/record/record.model.ts Mon May 13 13:52:37 2024 [505132][1][FATAL] bv_whatsapp_angular/core/app/core/src/lib/components/modal/components/message-modal Mon May 13 13:52:37 2024 [505132][1][FATAL] bv_whatsapp_angular/core/app/core/src/lib/components/modal/components/message-modal/message-modal.component.html Mon May 13 13:52:37 2024 [505132][1][FATAL] bv_whatsapp_angular/core/app/core/src/lib/components/modal/components/message-modal/message-modal.component.spec.ts Mon May 13 13:52:37 2024 [505132][1][FATAL] bv_whatsapp_angular/core/app/core/src/lib/components/modal/components/message-modal/message-modal.component.ts Mon May 13 13:52:37 2024 [505132][1][FATAL] bv_whatsapp_angular/core/app/core/src/lib/components/modal/components/message-modal/message-modal.module.ts Mon May 13 13:52:37 2024 [505132][1][FATAL] bv_whatsapp_angular/core/app/core/src/lib/fields/phone Mon May 13 13:52:37 2024 [505132][1][FATAL] bv_whatsapp_angular/core/app/core/src/lib/fields/phone/templates/detail/phone.component.html Mon May 13 13:52:37 2024 [505132][1][FATAL] bv_whatsapp_angular/core/app/core/src/lib/fields/phone/templates/detail/phone.component.spec.ts Mon May 13 13:52:37 2024 [505132][1][FATAL] bv_whatsapp_angular/core/app/core/src/lib/fields/phone/templates/detail/phone.component.ts
3 months ago
Hello
This is not an error.. its just log for taking the backup.. Did you do yarn run build-dev & do browser cache clear
Thank you, Brainvire Team
3 months ago
Thank you for providing the latest update of the addon and now I can see the whatsapp icon in front of phone number, but when I try to send whatsapp msg it is giving error of There are validation errors, unable to perform action. Do I need to do any more changes in suite crm?
3 months ago
Hello
Will check and update you ASAP
Thanku you, Brainvire Team
3 months ago
Pls update.
3 months ago
Hello
We are not able to reproduce the issue, Can you please let me know from which module you are trying to send SMS or provide screenshot of the issue.
Thank you, Brainvire Team
3 months ago
HI Brainwire Team,
I am trying to send the sms from the accounts module and pls find below the screenshot of the process and error:
3 months ago
Hello
We have fixed the issue and uploaded latest package in store. Please take the latest package and verify
Thank you, Brainvire Team.
3 months ago
Unfortunately I am getting the same error in the newer version of package. There are validation errors, unable to perform action. When I click on the send message. Is it related to some of the settings that needs to be done at twilio.
3 months ago
Here's the screenshot of the error after the latest version of plugin:
3 months ago
Hello
As mentioned in the mail, please check Twilio Logs and the Twilio configuration you have set in Admin Panel of CRM. Please let us know if you are facing any issue, we can have call
Thank You, Brainvire Team.
3 months ago
Hi Brainvire team,
I am able to send whatsapp msg from crm to the twilio sandbox number but when I am replying to that msg from sandbox number it is not coming in crm and not showing in the history as well. I have configured the inbound hook settings as shown in the instruction video.
3 months ago
Hello
If you have sandbox settings, need to add the entry point under sandbox settings as per below screenshot,. You should be receiving the whatsapp message in CRM.
Did you check in Calls Module, Whatsapp message getting logged ?
Thank You, Brainvire Team.
3 months ago
Hello
Are you getting incoming messages now in CRM?
Thank you, Brainvire Tea,
3 months ago
No I am not getting incoming messages in crm. I have configured url in twilio sandbox settings but no inbound logs are created in calls module.
3 months ago
Hello,
Are you sending Whatsapp message to the number configured in Admin Panel ?
Thank you, Brainvire Team
3 months ago
yes
3 months ago
Hello,
Can you cross check the URL configured in webhook. It should be URL set in site_url in config.php/index.php?entryPoint=receiveWhatsAppSMS
Please check & confirm. If still its not working, can we schedule a call to check the issue
Thank You, Brainvire Team
3 months ago
The url is http://base_url/index.php?entryPoint=receiveWhatsappSMS
3 months ago
Hello
Inbound whatsapp message wont work with HTTP. it should be HTTPS to test the change
Thank you, Brainvire Team.
3 months ago
Tried with Https also not inbound entry in calls module and no reply received in crm.
3 months ago
sourceComponent
14100
url
https://indivarcrm.indivar.in/index.php?entryPoint=receiveWhatsappSMS
ErrorCode
11215
LogLevel
ERROR
Msg
HTTP Error. Too many redirects
EmailNotification
false
This is what in twilio logs. Although it shows status as received there.
3 months ago
Hello
There is some issue at Twilio end due to which you are not receiving the message. Error code says like this URL is configured at too many places and its getting redirected. Please check or raise a support ticket in Twilio
Thank you, Brainvire Team
3 months ago
This is what is showing in the twilio logs:
11200 Twilio’s servers were unable to fetch a non-error response from the designated URL. Request Inspector URL
https://indivarcrm.indivar.in/index.php
3 months ago
Hello
As I mentioned earlier, have you configured this URL somewhere else to receive SMS/message. If not can you please raise a support ticket with Twilio to check the issue. As the issue is at Twilio end not related to our plugin.
Thank You, Brainvire Team.
3 months ago
I have raised a ticket to twilio. But when I tried sending the dummy msg from inside the twilio. Both inbound and outbound msgs are working fine without any issue. And I have also checked there is no place where I have entered outbound url twice.
3 months ago
Dear Customer,
We will again check the issue again and get back to you.
Thanks, Brainvire Team.
3 months ago
Dear Customer,
Kindly help us with the ticket response received from Twilio?
3 months ago
HI Brainvire team,
Twilio says that url is fine but told to upgrade the account from sandbox to live and I don't think that is required at the moment. The inbound and outbound msg should work fine in a sandbox account? For free demo period half of month is already gone and we are still not able to get it to work. I think we might need to drop this and start looking at other available whatsapp addons.
3 months ago
Hello
As I mentioned before can we schedule a call to look into the issue you are facing
Thank you, Brainvire Team
3 months ago
Hi Brainvire team,
I am available now. Please let me know where you want to have a call. I am available on google meet, ms teams and zoom.
Thanks, 'Samir
3 months ago
Dear Samir,
https://meet.google.com/mok-yhot-iuc?authuser=0
Please join the meet using the above link.
Thanks, Brainvire Team.
3 months ago
HI Brainvire team,
I got the addon working there was a case typo in the entrypoint url: I put it as receiveWhatsappSMS but it should be receiveWhatsAppSMS
3 months ago
Thanks for the update
If you are happy with our support and plugin. Please provide us review in store
Thank you, Brainvire Team
3 months ago
Hello
We are happy that you are able to use our plugin smoothly. If you are satisfield with our support and plugin. Can you please provide us review in https://store.suitecrm.com/addons/bv-whatsapp-extension/reviews
Thank You, Brainvire Team
2 months ago
Hi Brainvire team,
After enabling the twilio live api, we are receiving error while sending whatsapp sms from suite crm to user. Here's the error:
Failed to send freeform message because you are outside the allowed window. If you are using WhatsApp, please use a Message Template.
I have created a whatsapp template in Twilio and is waiting for approval. When the template is approved, where do we need to put the template id in suite crm.
2 months ago
Hello
Yes we need to get the template approved from twilio. Once approved you need to attach this template in the Email template you are creating. Then you can use it while sending Whatsapp Message,
Thank You, Brainvire Team
2 months ago
How can I attach the template, you want me to create a text document and paste the content of template and upload it. As I cannot find option to download the template from twilio.
2 months ago
Hello
We need to create same template in crm in email template module and link it on sending message
Thank you, Brainvire Team
2 months ago
I have created the exact same template in the crm and saved it. When I go to send whatsapp sms from the accounts module, I am still seeing the older email template there. Although I have disabled the sms template for the older template but it still shows there and the new one is not reflecting there.
2 months ago
Hello
You need to provide SMS Module Name for which you want to see the template. As you want to see the template under Accounts, please set SMS Module as 'Accounts'
Please refer to store documentation for the same. https://store.suitecrm.com/docs/bv-whatsapp-extension/user-guide
Thank You, Brainvire Team
2 months ago
Still the sms not being delivered. Now getting again the same error: Failed to send freeform message because you are outside the allowed window. If you are using WhatsApp, please use a Message Template.
Now I have an approved template in twilio which says:
Dear User,
Thank you for reaching out to us. We will get back to you in a while. Please provide us more details about the product you are looking for. Thanks
Same message I have in the email template
2 months ago
Here's the screenshot of the twilio.
2 months ago
Hello
Can you please remove the heading 'Twilio SMS' from the email template in CRM
Thank you, Brainvire Team
2 months ago
Removed but still the same error in twilio logs.
2 months ago
Hello,
Email Template content should be same as Twilio SMS content. Please cross check once
Is there one line after Dear User and the message in Twilio?
Can we set up one call to check the issue
Thank you, Brainvire Team
2 months ago
Sure please share the meeting link
2 months ago
Hello
Shared the meeting link. Please join
Thank You, Brainvire Team
2 months ago
Hi,
I am still getting the same error after trying the fixes as discussed in the call
2 months ago
Hi Brainvire team,
I had raised a ticket to twilio regarding the issue which we were facing and here is what they have replied:
Thanks for your response.
As per the conditions, if the message was created with the Content API or Content Editor, it may be one of the following: The customer has not included a messaging service SID The customer is still using "body" instead of "Content SID" and "Content Variables"
Here I could see that you're using "body," hence the issue.
2 months ago
Hello
As per our last discussion we have resolved all the issues. Please let us know if you need any other help, you can raise a new ticket
Thank you, Brainvire team