Axios error 500 using openai in vscode

  _redirectable: [Circular *1],
  [Symbol(kCapture)]: false,
  [Symbol(kBytesWritten)]: 0,
  [Symbol(kNeedDrain)]: false,
  [Symbol(corked)]: 0,
  [Symbol(kOutHeaders)]: [Object: null prototype],
  [Symbol(errored)]: null,
  [Symbol(kHighWaterMark)]: 16384,
  [Symbol(kRejectNonStandardBodyWrites)]: false,
  [Symbol(kUniqueHeaders)]: null
},
_currentUrl: '
[Symbol(kCapture)]: false

},
response: undefined,
isAxiosError: true,
toJSON: [Function: toJSON]
}

  1. AxiosError {message: ‘Request failed with status code 500’, name: ‘AxiosError’, code: ‘ERR_BAD_RESPONSE’, config: {…}, request: XMLHttpRequest, …}

  2. code: “ERR_BAD_RESPONSE”

  3. config: {transitional: {…}, adapter: ‘xhr’, transformRequest: Array(1), transformResponse: Array(1), timeout: 0, …}

  4. message: “Request failed with status code 500”

  5. name: “AxiosError”

  6. request: XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, …}

  7. response: {data: ‘Internal error’, status: 500, statusText: ‘Internal Server Error’, headers: AxiosHeaders, config: {…}, …}

  8. stack: “AxiosError: Request failed with status code 500\n at settle (webpack-internal:///(app-pages-browser)/./node_modules/axios/lib/core/settle.js:24:12)\n at XMLHttpRequest.onloadend (webpack-internal:///(app-pages-browser)/./node_modules/axios/lib/adapters/xhr.js:121:66)”

  9. [[Prototype]]: Error

Welcome to the developer forum!

I think you are looking for ChatGPT, you can find it at https://chat.openai.com