DanielZambSB / Equipo-IA

0 stars 0 forks source link

Template with 0 params not creating/sending #27

Closed DanielZambSB closed 4 months ago

DanielZambSB commented 5 months ago

Describe the Bug

The application encounters an issue when attempting to send the creation of a WhatsApp template that contains exactly 0 parameters. The problem arises from a lack of handling for messages without parameters in both the template creation process and the batch processing method, preventing successful message transmission.

To Reproduce Steps to reproduce the behavior:

  1. Navigate to the template creation section.
  2. Attempt to create a WhatsApp template with 0 parameters.
  3. Observe the error preventing successful template creation.
  4. Additionally, attempt to send messages in batch processing with a template having 0 parameters.
  5. Note the error preventing the transmission of messages.

Expected Behavior

The application should gracefully handle the creation and sending of WhatsApp templates with 0 parameters, allowing for successful template creation and message transmission.

Desktop (please complete the following information):

DanielZambSB commented 4 months ago

solved!