Endpoint chat completion returning error response with no code

openAi chat endpoint returning this error read ECONNRESET\n at TLSWrap.onStreamRead with no status code.
can anyone help me in this