Whatsapp error sending msg to clients

Status
Not open for further replies.

Hamzeh Mahafzah

Forum User
Joined
Jan 8, 2023
Messages
20
Reaction score
0
Hi,
I have already integrated with Facebook and WhatsApp
it's working only for one or two days
below the error log from 3CX:
"Failed to send message(s) to the provider 'whatsapp' from '+962791007100' to '+962796700999'. Exception: {"error":{"message":"Error validating access token: Session has expired on Monday, 15-Apr-24 04:00:00 PDT. The current time is Tuesday, 16-Apr-24 00:40:50 PDT.","type":"OAuthException","code":190,"error_subcode":463,"fbtrace_id":"AFa060GzRnzF38aNV1N8M_J"}} "
 
Hi there.
Generate a new token and try again, as it seems that your token is no longer valid.
 
Thanks @Olegr its valid for 23 hours only,
how I can generate permanent tokens for both WhatsApp and Facebook? Which parameters should I include in services?
 
Hello @Hamzeh Mahafzah,

You can generate a new token from the WhatsApp Business Platform.
Check the boxes for “whatsapp_business_messaging” and “whatsapp_business_management” and then generate token.
Copy this access token as this is a permanent token and then use it on the WhatsApp trunk in the 3CX Admin Console.

Please see also our guide Configuring WhatsApp for more information.
 
Status
Not open for further replies.

Members Online Now

Forum statistics

Threads
111,832
Messages
589,283
Members
164,662
Latest member
DejanMDS