Skip to content

fix: update whatsmeow to fix WhatsApp client outdated (405) connection error - #299

Open
RonnyG2121 wants to merge 1 commit into
lharries:mainfrom
Soluciones-Inclusivas:dev
Open

fix: update whatsmeow to fix WhatsApp client outdated (405) connection error#299
RonnyG2121 wants to merge 1 commit into
lharries:mainfrom
Soluciones-Inclusivas:dev

Conversation

@RonnyG2121

Copy link
Copy Markdown

Problem

WhatsApp bridge was failing to connect with the following error:

The library version was from March 2025 and WhatsApp servers were rejecting the connection because the client version was too old.

Solution

  • Updated from to (latest)
  • Updated all transitive dependencies to their latest versions
  • Fixed 5 breaking API changes by adding parameter to:

Testing

Build and vet pass successfully with the updated dependencies.

…n error

- Update whatsmeow from 20250318 to 20260718 (latest)
- Update all transitive dependencies to latest versions
- Fix 5 breaking API changes: add context.Context parameter to:
  - client.Download()
  - sqlstore.New()
  - container.GetFirstDevice()
  - client.GetGroupInfo()
  - client.Store.Contacts.GetContact()

WhatsApp was rejecting connections with 'Client outdated (405)' error
because the old whatsmeow version used an obsolete client version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant