Skip to content

# Instance creation generates empty, non-functional instances #2419

Description

@Morenosebas

Welcome!

  • Yes, I have searched for similar issues on GitHub and found none.

What did you do?

Description

Since updating to evo-api version 2.3.7, newly created instances are generated empty and without any functionality.

The instance creation process does not return any visible errors. However, the resulting instance is unusable and remains in a close state, without proper initialization or operational features.

Below is an example showing how the created instance appears in the system, despite being non-functional:

Image

Request Payload

This is the object sent by evo-api when creating the instance:

{
    "instanceName": "Yo",
    "integration": "WHATSAPP-BAILEYS",
    "token": "0DF83334338C-4D4B-94A5-70526B46F058",
    "number": "573192107643"
}

API Response

And this is the response returned by the API:

{
    "instance": {
        "instanceName": "Yo",
        "instanceId": "4b8c6a0a-b292-4ceb-88a1-f69fcee0c40b",
        "integration": "WHATSAPP-BAILEYS",
        "webhookWaBusiness": null,
        "accessTokenWaBusiness": "",
        "status": "close"
    },
    "hash": "0DF83334338C-4D4B-94A5-70526B46F058",
    "webhook": {},
    "websocket": {},
    "rabbitmq": {},
    "nats": {},
    "sqs": {},
    "settings": {
        "rejectCall": false,
        "msgCall": "",
        "groupsIgnore": false,
        "alwaysOnline": false,
        "readMessages": false,
        "readStatus": false,
        "syncFullHistory": false,
        "wavoipToken": ""
    }
}

Observed Behavior

  • The instance is created successfully according to the API.
  • No errors are returned.
  • The instance remains in close status.
  • The instance lacks expected functionality and cannot be used.

Expected Behavior

  • The instance should be fully initialized after creation.
  • It should be able to connect and operate normally.
  • The status should change accordingly (e.g., open, connecting, etc.).

What did you expect?

I would appreciate it if you could provide at least one stable version where this issue does not occur, so I can temporarily downgrade while the problem is being investigated.

The instance should be fully initialized after creation.

It should be able to connect and operate normally.

The status should change accordingly (e.g., open, connecting, etc.).

What did you observe instead of what you expected?

What has happened since we uploaded the version?

Screenshots/Videos

No response

Which version of the API are you using?

2.3.7

What is your environment?

Linux

Other environment specifications

node 22
ubuntu 24.04

If applicable, paste the log output

No response

Additional Notes

No response

Activity

  1. Morenosebas commented on Feb 7, 2026

    @Morenosebas
    Author

    To clarify, because I made a mistake, the error isn't with the Bayles integration, even though I sent a Bayles JSON file. The error is with the Evolution integration, which never allows disconnection, and therefore I can never scan the QR code.

  2. added a commit that references this issue on Feb 8, 2026
    266fe34
  3. added a commit that references this issue on May 17, 2026
    83efcd5
  4. DavidsonGomes commented on May 19, 2026

    @DavidsonGomes
    Member

    Olá! Segunda rodada de triagem do backlog. Esta issue não traz informação suficiente para reproduzir o problema (sem versão exata, sem passos para reproduzir, sem logs do servidor, ou body muito vago).

    Vamos fechá-la para focar nos bugs reproduzíveis. Se você ainda reproduz o problema, por favor:

    1. Abra uma nova issue usando o template Bug Report
    2. Inclua:
      • Versão exata testada (rode v2.3.7 ou 2.4.0-rc2, a pre-release atual)
      • Passos detalhados para reproduzir
      • Payload de request usado
      • Logs do servidor no momento do erro
      • Comportamento esperado vs observado

    Linke esta issue na nova para preservar o histórico. Obrigado!

  5. added a commit that references this issue on Jul 3, 2026
    60d2e9c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions