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

Notifications

Announcements

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 (1)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard