How to configure API block to connect to ChatGPT

I would like to know how to configure the API block to connect to the very popular ChatGPT.

In the first place, does API Block support connection of external API blocks that require authentication?

Any information would be very helpful. Thank you very much.

{
“error”: {
“message”: “You didn’t provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you’re accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://beta.openai.com.”,
“type”: “invalid_request_error”,
“param”: null,
“code”: null
},
“VF_STATUS_CODE”: 401,
“VF_HEADERS”: {
“connection”: “close”,
“content-length”: “475”,
“content-type”: “application/json; charset=utf-8”,
“date”: “Sun, 11 Dec 2022 21:26:34 GMT”,
“strict-transport-security”: “max-age=15724800; includeSubDomains”,
“vary”: “Origin”,
“x-request-id”: “a3ca2d3432a5b1b188a9527ac093e8d5”
}
}

1 Like

Hi @HideG !

Can you send your project file to support@voiceflow.com - we can investigate further from there!

  • Catherine
    Voiceflow Customer Support
1 Like

Thank you for your suggestion.
I sent you an email.
Thank you very much.

Hi @Catherinemaddock! I’m having the same problem. Did you find a solution? They said “Incorrect API key provided”.