Wa-automate-nodejs: Error in new Version Whatsapp Web 2.2023.2

Created on 4 Jun 2020  Â·  17Comments  Â·  Source: open-wa/wa-automate-nodejs

Hi Guys,
wapi.js is not working on version 2.2023.2 of whatsapp web.
Some idea?
Thanks

Most helpful comment

@jesusvalverde @UnKnoWn-Consortium @kaiqmo @willsilvano @camvishalpathak @arturromaorocha @arwanfiles @alpires please try 1.9.62+ and let me know if worked for you. Thanks

All 17 comments

Seem to have problem over '2.2023.2" and '1.9.61' and halt over "Authenticate to continue".. I'll test more tomorow and try to make a "template request"

I have same problem here

I have same problem here

I have same problem here. Pl provide new wapi.js

Same here.

same

For fresh client, the 2.2023.2 update has removed the class app the authenticated check (isInsideChat) depends on, thus preventing the client to start.

https://github.com/open-wa/wa-automate-nodejs/blob/18aeb098b8c4882f920f603db395dc7095893b57/src/controllers/auth.ts#L28

For resuming sessions, the update breaks the VALID_SESSION check and creates a restart loop... I think it may be related to changes WhatsApp made to how its store is encapsulated. Reference

pushing new version very soon

@github-actions run


âš¡ Release! âš¡

(async () => {
function exec(cmd) {
  console.log(execSync(cmd).toString());
}

// Config
const gitUserEmail = "github-actions[bot]@users.noreply.github.com";
const gitUserName = "github-actions[bot]";

exec(`echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc`);
exec(`git config --global user.email "${gitUserEmail}"`);
exec(`git config --global user.name "${gitUserName}"`);
exec(`npm i`);
exec(`npm run release-ci`);

//comment on the issue
var result = execSync(`npx auto-changelog -o ./tempchangelog.txt --commit-limit false --template ./compact-keepachangelog.hbs --stdout`).toString();

    await postComment(result);

//create changelog image
exec(`npm run release-image`);
exec(`git commit -a -m 'updated release-image'`);
exec(`git push --force`);
  })();

Small test and NOT working
│ WA_VERSION │ '2.2023.2'

The release bot had a bit of a mess up:

https://github.com/open-wa/wa-automate-nodejs/blob/master/CHANGELOG.md#1962---2020-06-04

this is fixed in 1.9.62

Solved !!!!

@jesusvalverde @UnKnoWn-Consortium @kaiqmo @willsilvano @camvishalpathak @arturromaorocha @arwanfiles @alpires please try 1.9.62+ and let me know if worked for you. Thanks

Yes, Solved, thanks !!!

It works now.
Thanks @smashah

Yep, it works now here.
Thanks!

Now wapi.js works me it is no longer possible to send a message to a new contact .

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sandro-salles picture sandro-salles  Â·  4Comments

sandro-salles picture sandro-salles  Â·  4Comments

DeLuca92 picture DeLuca92  Â·  5Comments

yoavmmn picture yoavmmn  Â·  5Comments

vsilva472 picture vsilva472  Â·  4Comments