Skip to content

400 Error Requesting from OpenAI API #1162

Answered by Mattral
CareNetAI asked this question in Q&A
Discussion options

You must be logged in to vote

Fix this by passing the object through openairequest.send(JSON.stringify(payload))

I found this solution on freecodecamp.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@CareNetAI
Comment options

@noxxi17
Comment options

Answer selected by CareNetAI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants