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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Running into a 401 Err...
Power Automate
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?"
    }
  ]
}
I have the same question (2)
  • CP-30100451-0 Profile Picture
    14 on at
    any updates on this?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard