web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : JSILfwSOwX9rHrSC7ECQT3
Power Automate - Using Connectors
Unanswered

How to pass API jey to connector?

Like (1) ShareShare
ReportReport
Posted on 24 Jan 2023 08:15:25 by 2

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,

Foufistador_1-1674547957388.png

 

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)

 

 

 

  • rzaneti Profile Picture
    4,096 Super User 2025 Season 2 on 09 Jun 2023 at 23:11:54
    Re: How to pass API jey to connector?

    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.

  • Community Power Platform Member Profile Picture
    on 14 Feb 2023 at 14:55:52
    Re: How to pass API jey to connector?

    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

  • simonWilkinson Profile Picture
    4 on 25 Jan 2023 at 17:21:28
    Re: How to pass API jey to connector?

    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. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Loading complete