Skip to main content

Notifications

Power Automate - Power Automate Desktop
Unanswered

Running into a 401 Error in Power Automate Desktop

(0) ShareShare
ReportReport
Posted on by
Running into the below 401 error code in Power Automate Desktop. The POST API call I am trying to do has no issues in Postman Desktop. I can't figure out why it is not working in Power Automate Desktop. Below the error is the headers and body I am putting through the API call.
 
 
{ "statusCode": 401, "message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription." }

Accept: application/json

Content type: application/json

Custom headers: Ocp-Apim-Subscription-Key:Basic 94xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

{
  "model": "gpt-4",
  "messages": [
    {
      "role": "user",
      "content": "What is OpenAPI?"
    }
  ]
}
Categories:

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

Kickstarter Events…

Register for Microsoft Kickstarter Events…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #13 Writing Effective Answers…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,858

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,505

Leaderboard