Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to send Text/File Message, Module findChat was not found with e=>e.findChat #2098

Closed
ariona opened this issue Jul 12, 2024 · 31 comments
Closed

Comments

@ariona
Copy link

ariona commented Jul 12, 2024

WA-JS Version

3.4.2

WhatsApp Version

2.3000.1014827428

Browser Version

126.0.6478.127

Operation System

OS X Sonoma

Steps to reproduce

  1. Send chat with sendTextMessage Method with createChat option to true
  2. Send chat with sendFileMessage Method with createChat option to true

What is expected?

This should send message or media to recipient number

What is actually happening?

Now it's return error because internal method is not found. Below is the error details:

wpp.js:2 Module findChat was not found with e=>e.findChat

Uncaught (in promise) 
  TypeError: (0 , i.findChat) is not a function
      at t.find (core.js:2:141127)
      at t.assertFindChat (core.js:2:100130)
      at t.sendFileMessage (core.js:2:177171)

This caused issue with sending message.

Any additional comments?

No response

Copy link

@ariona, ⭐3 XP earned, 🏆First Issue Created completed, 💪Level 2 achieved!
Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

@marcogaruthix
Copy link

Same problem here... I'm unable to open chat with any contact

Input:
WPP.chat.openChatBottom('[email protected]');

Output:
Uncaught TypeError: (0 , i.findChat) is not a function
at t.find (:2:141119)
at t.assertFindChat (:2:100122)
at t.openChatBottom (:2:160631)
at :1:16

Copy link

@marcogaruthix, ⭐3 XP earned, 🏆First Comment Added completed!
Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

@yuzedong
Copy link

The same issue is causing my application to completely fail to work. If possible, please urgently fix this. Tks very much.

Copy link

@yuzedong, ⭐3 XP earned, 🏆First Comment Added completed!
Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

@issacwillianDEV
Copy link

Here is also giving this error please if you can fix it I would appreciate it

Copy link

@issacwillianDEV, ⭐3 XP earned, 🏆First Comment Added completed!
Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

@bracketsApps007
Copy link

image

@ariona
Copy link
Author

ariona commented Jul 12, 2024

There seems to be an issue when using sendTextMessage/sendFileMessage with createChat option set to true.

await WPP.chat.sendTextMessage('[email protected]', 'Content', { createChat: true })

Copy link

@ariona, ⭐3 XP earned, 🏆First Comment Added completed, 💪Level 2 achieved!
Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

@2631916218
Copy link

2631916218 commented Jul 12, 2024

I also encountered the same problem when using the chat.openChatBottom and chat.sendFileMessage methods ~
version:3.2.6

Copy link

@2631916218, ⭐3 XP earned, 🏆First Comment Added completed!
Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

@sergey-chechaev
Copy link

The same problem

image

Copy link

@sergey-chechaev, ⭐3 XP earned, 🏆First Comment Added completed!
Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

@ariona
Copy link
Author

ariona commented Jul 12, 2024

@sergey-chechaev, ⭐3 XP earned, 🏆First Comment Added completed! Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

This bot should be turned off

@Parveen-Mothsara
Copy link

await WPP.chat.sendTextMessage('[email protected]', 'Content', { createChat: true })

this is giving same error please resolve...

Copy link

@Parveen-Mothsara, ⭐3 XP earned, 🏆First Comment Added completed!
Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

@Shibubx
Copy link

Shibubx commented Jul 12, 2024

well.. I have all the issues above

Copy link

@Shibubx, ⭐3 XP earned, 🏆First Comment Added completed!
Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

@ariona
Copy link
Author

ariona commented Jul 12, 2024

I think WhatsApp update/move some of their code..
This issue caused by findChat module which is missing.

https://github.com/wppconnect-team/wa-js/blob/cb06285757250cdabbdaf4535dcf97bdcdd509ef/src/whatsapp/functions/findChat.ts

@Shibubx
Copy link

Shibubx commented Jul 12, 2024

I think WhatsApp update/move some of their code.. This issue caused by findChat module which is missing.

https://github.com/wppconnect-team/wa-js/blob/cb06285757250cdabbdaf4535dcf97bdcdd509ef/src/whatsapp/functions/findChat.ts

solution ?
alternative

@Shibubx
Copy link

Shibubx commented Jul 12, 2024

I think this is the end
now they encoded the chat ID keeps changing ..

@sergey-chechaev
Copy link

I think this is the end now they encoded the chat ID keeps changing ..

This method still working https://web.whatsapp.com/send?phone=7926xxxxxxx so it means that you can find chat

@Shibubx
Copy link

Shibubx commented Jul 12, 2024

I think this is the end now they encoded the chat ID keeps changing ..

This method still working https://web.whatsapp.com/send?phone=7926xxxxxxx so it means that you can find chat

no try https //api.whatsapp.com/send phone=number' see what it says

Copy link

@icleitoncosta, ⭐3 XP earned, 🏆First Issue Closed completed, 💪Level 10 achieved! [Details]

icon

@ariona
Copy link
Author

ariona commented Jul 12, 2024

I can confirm The update is working, Thanks @icleitoncosta

@yuzedong
Copy link

very well. Thanks.

@icleitoncosta
Copy link
Contributor

You're welcome, hugs

@Parveen-Mothsara
Copy link

Its working now Thanks all.

@jhowbhz
Copy link

jhowbhz commented Jul 12, 2024

Thank you

Copy link

@jhowbhz, ⭐3 XP earned, 🏆First Comment Added completed!
Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

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

No branches or pull requests