google-bard-api icon indicating copy to clipboard operation
google-bard-api copied to clipboard

Google Bard encountered an error

Open lywchaos opened this issue 1 year ago • 2 comments

google-bard-api doessn't work.

The only response message i got was {"content":"Google Bard encountered an error: b')]}\'\n\n38\n[["wrb.fr",null,null,null,null,[9]]]\n56\n[["di",184],["af.httprm",184,"7440470310890705770",2]]\n25\n[["e",4,null,null,131]]\n'."}

I add print(resp.text) below this line, and got something like this:

)]}'

38
[["wrb.fr",null,null,null,null,[8]]]
56
[["di",238],["af.httprm",238,"6391811025503487755",1]]
25
[["e",4,null,null,131]]


That's absolutely a bad result. I wonder who is to blame?

lywchaos avatar Jun 08 '23 08:06 lywchaos

Hi, I'm having the same problem right now. I get 3 correct responses but then I get the error. Have you figured out what's causing it?

andredumandan avatar Jul 06 '23 01:07 andredumandan

I'm having the same issue... When I tried to reproduce the http request, I realized that the url param bl and the message array for param f.req, that are submitted with the post request have changed in the meantime. However, even when adjusting these values, I wasn't able to perform a successful request.

julianschnell avatar Jul 06 '23 13:07 julianschnell