EvanZhouDev / bard-ai

A lightweight library to access Google Bard.
https://www.npmjs.com/package/bard-ai
GNU General Public License v3.0
117 stars 31 forks source link

Could not get Google Bard. #29

Closed atahanozer closed 1 year ago

atahanozer commented 1 year ago

Hi, it was working fine for some time but today, I keep getting Could not get Google Bard. errors and can not make calls.

Checked the cookie and it is valid. Any ideas ?

EvanZhouDev commented 1 year ago

Go to bard.google.com, Clear Cookies, reload and sign in. Then, get the new Cookie for __Secure-PSID1.

atahanozer commented 1 year ago

I did that and even logged in with a different account and updated __Secure-1PSID but still the same.

Sidharth004 commented 1 year ago

Is there a way to overcome this issue? Even if you sign in again and paste the new key, there are instances that it works well for some time but again gives the same error

eerikson commented 1 year ago

Evan's solution worked for about ten minutes before I experienced this error again. I doubt it's this library's fault, but some guidance on how often to expect this or how to work around it would be appreciated.