#What does this error mean?

4 messages · Page 1 of 1 (latest)

nocturne cloud
#

What does this error mean?

The errors are really incomprehensible, I can't stand it anymore.

#
  await openai.createChatCompletion({
    messages: messages,
    model: "gpt-3.5-turbo",
    max_tokens: tokens + 200
  }).catch((error: Error) => {
mossy verge
#

it is a generic error 400 error, dumping the entire request object with console.log does not show the actuall error returned by the API data: { error: [Object] }, log the error.request.data and it will tell you what the error is