Hi everyone,
I'm trying to use openAI connector with Power Automate, but my token is not saved when I clicked on save (in my connector)
at the first time, I tought it was a kind of security to not allow someone to retrieve my key, but when I start my flow, it returned me the following 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.
But, I'm pretty sure of what I'm doing,
In api Token, I copy/past key, generated from https://beta.openai.com/account/api-keys
But when I clicked on save, the pop closed without taking in account the key I passed it (I tried to generate other keys to be sure, but the issue is still the same)
I know that this post is a little old, but I had this issue today and. If anyone find this same error when using the OpenAI connector, you can fix it by just adding the word 'Bearer ' before the API key. Your final result will be: Bearer [API_KEY].
-------------------------------------------------------------------------
If this is the answer for your question, please mark the post as Solved.
If this answer helps you in any way, please give it a like.
I saw in the following LinkedIn post that a user was able to use the connection. link.
While I'm also facing the same issues as mentioned above, I did come across a more complicated method to use a custom API connection instead, but still issue should be fixed. custom connection
Hi,
I am having the same issue, I have tried a few different approaches but it looks like for some reason the actual API Key is not being saved on the connector. if you look at your connector tab in PowerAutomate and edit the connection you will see just before the modal closes there is a (i) Error dialogue - too quick to read. I am going to try setup a custom connector and will revert if it works.
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2