Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Cervecería
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y soporte técnico
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Explorar todos los sectores
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Servicios para partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Failed to send WhatsApp message

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
whatsappv17
13 Respuestas
8816 Vistas
Avatar
Mountrix

Hi all,


I configured a WhatsApp Business Account in Odoo 17 following this documentation. When I click on "Test Connection" I receive a success message saying "Credentials are valid". I also have a "Hello World" WhatsApp template approved which applies to the Contact model. 


Then I go to the Contacts app, I select a contact with a correct WhatsApp number, I click on the WhatsApp button and I select the "Hello World" template. When I click on "Send Message" I see on the Chatter a red WhatsApp icon. When I hover over this icon says "Failed to send" 😢




¿Can anyone help me to identify what can be wrong? ¿Is there a way to see more details about this error?


Thanks,

Ernesto

0
Avatar
Descartar
Avatar
Jonathan Amador Zamarripa
Mejor respuesta

Hello, I have the solution!


the problem is the numeric format that we get when we receive a message, it is different because Whatsapp adds a “1” after the country prefix, because of that digit odoo does not allow to send messages.


however it is possible to format the phone number from an automated option, for example: i am from mexico, so the country prefix is +52, but whatsapp returns +521.


for this we must go to settings and activate developer mode.


then go to settings>technical>automated actions.


there we create a new action by selecting the “whatsapp messages” module, activate it “on save” and the action to execute will be “execute code”.


The code will be the following, just make sure to change the country prefix to the country where you live for it to work:


if record.mobile_number and record.mobile_number.startswith(“+521”):

    # Replace '+521' with '+52'.

    formatted_number = record.mobile_number.replace(“+521”, “+52”)

    record.write({'mobile_number': formatted_number})


After saving everything, you can send messages without using templates, Greetings.



1
Avatar
Descartar
Avatar
Ahmed Muhumed
Mejor respuesta

I am facing the same issue, any solution to this?

0
Avatar
Descartar
Avatar
Daniel Ricardo e SIlva
Mejor respuesta

Estou com o mesmo problema. 

Inicialmente com número de teste do Meta, porém, em produção. 

  • Teste de credenciais funcionado. 
  • Envio de outro numero para o numero de teste marca dois traços. 
  • Envio do numero de teste para outro, apresenta falha como o do autor do tópico. 
  • Revisado todo o procedimento do manual. 
  • Testei sugestões da web, sem sucesso. 

Aguardo uma possivel solução. 

0
Avatar
Descartar
Avatar
charlottegianna
Mejor respuesta

any solution to this?

0
Avatar
Descartar
charlottegianna

https://www.apkjaguar.com/

Avatar
Emilio Quezada Plaza
Mejor respuesta

Hi

I found a solution (it worked for me)

When I configured Whatsapp it happens me the same, and (at least for me) the problem was in the step of configuring the permanent token.

At firts, when I created the user to configure the permanent token (in Meta), the user had only "user access", so instead I created an user with "Administrator Access" and then I did the following steps that where in the WhatsApp Documentation.

If you do this, remember to update the "Access Token" inside the WhatsApp Business account in Odoo.

I Hope this solution may help you.

Regards

0
Avatar
Descartar
Avatar
rahul agarwal
Mejor respuesta

any solution to this?

0
Avatar
Descartar
Avatar
Jose
Mejor respuesta

Same error

0
Avatar
Descartar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Mejor respuesta

Hi,

When operating your Meta app in development mode, it's crucial to note that test messages can be sent only to the configured phone numbers, with a maximum limit of five recipient phone numbers. This limitation is inherent to the development mode, permitting the inclusion of only five mobile numbers in the WhatsApp API setup for testing purposes. If the need arises to send messages to more numbers, it is advisable to switch the app to live mode.


Regards

0
Avatar
Descartar
Avatar
Manish Bohra
Mejor respuesta

Hello, 

Are you configure Sandbox account or what?'

In case of sandbox account you can sent only message to the self registered number.

0
Avatar
Descartar
Avatar
Jefferson Iriarte
Mejor respuesta

I have the same problem, the WhatsApp messages are sent only in the templates, the clients respond and everything is fine, but when the administrator answers in the conversation the messages that say failed are never sent.


I am using Odoo 17.0+e (Enterprise Edition)


I test in Odoo saas~16.4+e Enterprise Version, using the same WhatsApp Business Accun and everything works well, I can receive and send messages to clients without problems


0
Avatar
Descartar
Avatar
Jeff MacKenzie
Mejor respuesta

I have the same issue, i have opened a ticket with odoo support but there hasnt been any answer yet.

When a customer sends a message we receive it in odoo but cannot reply, it says sending failed and when we click on retry it stays in the queue and never is sent but the icon turns green in the chat as if it had been sent.

If i send a template message from odoo those messages are received with no issues. Its only the general chat that isnt working

0
Avatar
Descartar
Avatar
Roberto Ricci
Mejor respuesta

Same problem here.

0
Avatar
Descartar
Avatar
Pablo Suárez Garcia
Mejor respuesta

I had the same problem. Something additional, in my case, when the "client" sends me a message via WhatsApp I can receive it and respond from Odoo, but from the Pipeline model I don't see the messages in chatter

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
v17: WhatsApp built-in feature within Odoo...
whatsapp v17
Avatar
Avatar
Avatar
2
sept 25
2987
Ya es posible hacer Upgrade de v17 a v17.1 ?
v17
Avatar
Avatar
1
oct 25
1434
How to add a new Many2one field in res.config.settings? Resuelto
v17
Avatar
Avatar
Avatar
Avatar
4
oct 25
4045
WhatsApp Campaigns and Bulk Messaging in Odoo
whatsapp
Avatar
Avatar
1
sept 25
1511
Add field to ALL models in Odoo
v17
Avatar
Avatar
Avatar
2
sept 25
2627
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now