Help! ChatGPT API call :-(

What’s wrong with this? Any help is appreciated. Many thanks!

  1. Leave all items in the Params tab empty
  2. In the Authorization tab, paste your OpenAI API token as the Type Bearer Token (as you likely already did)
  3. In the Headers tab, add key “Content-Type” with value “application/json”

Follow the steps as give here

Cheers @m.tan

Thanks! I’ve tried to follow that post earlier and noticed that it was using an older model.

ChatGPT website suggested this API call: OpenAI Platform

However, I tried both (the one from the post and from chatgpt website), it returned the same error.

On a second look, it is using C# while I am using vb (shouldn’t be an issue though).

I’ll provide an update once I have solved it.

1 Like


Please Refer this and Provide the Parameters like this
and in the Body Provide body application/json

Note - I’m Using another API of Chatgpt

Try to change the Body Format to application/json

Also, for such scenarios, in case you are sure that a HTTP Request is working well in a third-party tool, and not working in Studio, is to use a Fiddler Classic tool and compare the requests. In this way you have a clue where you need to adapt and configure the HTTP Request activity.