Hello everyone,
Im new on bubble and i have issue connecting Open AI with Bubble.
I have made several test without success. i still have this error “You didn’t provide an API key. You need to provide your API key in an Authorization header using Bearer auth”
here is a screenshot of my setting on the API connection
*
Everything seems ok when i made the call. Then i try to use “chat completion”, i got this error…
Send a screenshot of your API call in API connector (not just the group)
I tested it here and it worked perfectly with the same body you are sending…
Is there anything wrong with your API key?
Also, this isn’t mandatory, but chat completion is listed as “Legacy” in OpenAI. The new way to use chat completion is through “Responses.”
Documentation link:
https://platform.openai.com/docs/guides/conversation-state#overview
Thank you. It seems also work with me like what you have send. However, once i create a button and a chat completion action, i have this error.
here is the workflow that i have created and which bring me the error “you didn’t provide an api key”:
nassifchristophe:
nassifchristophe:
These are not the same API calls. Your step 1 in the workflow is using a plugin action from an installed plugin, not your API Connector call.
I’d recommend using the API Connector call, it’s very rare that using a plugin makes sense when all it does is give you an API call.
Funny thing is, he initially posted using the API Connector, but in the workflow action he tried to use a plugin…
I was looking at the plugins available here, and he probably has this one installed:
@nassifchristophe uninstall this plugin and use the API Connector actions instead.
Hello all.
Thank you. I wad indeed using the two plugin (im new and i have not understand exactly what was the API connector plugin.
So i deleted Open Ai plugin and use only Api connector
thank you!!
1 Like