node-chatgpt-api icon indicating copy to clipboard operation
node-chatgpt-api copied to clipboard

Success: null

Open WaterHyacinthInNANHU opened this issue 1 year ago • 7 comments

Describe the bug I'm using BingAIClient. After several successful queries, the API server returns error code 503 with the error message: {"error":"null"}. Please help~

Screenshots image

Node.js version (please complete the following information):

  • OS: Linux 4090 5.15.0-82-generic 20.04.1-Ubuntu
  • Node v20.5.1

Package version (please complete the following information):

WaterHyacinthInNANHU avatar Sep 11 '23 05:09 WaterHyacinthInNANHU

Same Issue from the past 5 days. BingAI No longer works properly.

Sometimes the issue disappears but mostly it shows error:null image

vaibhavard avatar Sep 14 '23 06:09 vaibhavard

yeah same here! If using the SRCHLANG cookie.

jegue avatar Sep 14 '23 21:09 jegue

I use _U cookie .. Whats srchlang cookie?

vaibhavard avatar Sep 15 '23 07:09 vaibhavard

@WaterHyacinthInNANHU It seems to be a problem on Microsoft's side. Sometimes a conversationSignature won't be returned when sending the conversation POST. I don't experience the problem anymore after getting new optionSets and SliceIds from a vanilla request, however there still seems to be some problems on Microsoft's side, mainly InternalServiceErrors for normal POST requests. So you might just see the error "Error processing request." displayed sometimes. The issue isn't really related to the repo code itself, but we should leave it open until the errors disappear, so nobody creates a new issue.

Richard-Weiss avatar Sep 15 '23 12:09 Richard-Weiss

@WaterHyacinthInNANHU It seems to be a problem on Microsoft's side. Sometimes a conversationSignature won't be returned when sending the conversation POST. I don't experience the problem anymore after getting new optionSets and SliceIds from a vanilla request, however there still seems to be some problems on Microsoft's side, mainly InternalServiceErrors for normal POST requests. So you might just see the error "Error processing request." displayed sometimes. The issue isn't really related to the repo code itself, but we should leave it open until the errors disappear, so nobody creates a new issue.

It is true that starting a new conversation solves this. Thanks for your timely help!

WaterHyacinthInNANHU avatar Sep 17 '23 07:09 WaterHyacinthInNANHU

Yeah, it seems to have "solved itself" i.e. they fixed it on their end. --Edit-- You'll still get the issue occasionally if you are not using the encrypted request and websocket. So it's probably best to see #481 for a real fix.

Richard-Weiss avatar Sep 17 '23 08:09 Richard-Weiss

I am getting this error out of the gate. I have not been able to get any successful responses, ever. One thing that is different than the above error is that once I paste my cookies into settings.txt the error message changes from "|BingProdUnAuthenticatedUsers|" to "|BingProd|".

michael-ts avatar Mar 14 '24 21:03 michael-ts