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 / The remote endpoint re...
Power Automate
Unanswered

The remote endpoint returned an error (HTTP '401') with Action.Http Adaptive Cards

(1) ShareShare
ReportReport
Posted on by
Hi,
 
I've created an approval flow on Power Automate that sends an email to a person in my organisation. During testing, when I click on either button, I get "The remote endpoint returned an error (HTTP '401'). Please try again later." As an added note, the scope of the connector in the Actionable Email Developer Dashboard is set to Organization.
 
I have tried the following already:
1. Added an Authorization field in the header with a value of "".
2. Created a Bearer Token and added it into the Authorisation value as "Bearer [Token]" (this works when using Postman)
3. Tried changing the connector with the property to be "Anyone" (this doesn't work even with Postman and gives the error of "The request must be authenticated only by Shared Access scheme")
 
I'm at my wit's end and am really hoping someone might be able to assist?
 
The adaptive card code is as follows (URLs have been changed:
 
 
{
"type": "AdaptiveCard",
"body": [
{
"type": "Container",
"items": [
{
"type": "FactSet",
"id": "a46a50e6-11c3-27bb-349f-b40d820a7b83",
"facts": [
{
"title": "Request on:",
"value": "09/21/2019"
}
]
}
],
"padding": {
"top": "None",
"bottom": "Default",
"left": "Default",
"right": "Default"
},
"spacing": "None"
},
{
"type": "Container",
"id": "353b659f-b668-fac0-5b7f-5d2f1bdb46ac",
"padding": "Default",
"items": [
{
"type": "ActionSet",
"actions": [
{
"type": "Action.Http",
"id": "accept",
"title": "Accept",
"method": "POST",
"url": "https://prod-43.uksouth.logic.azure.com:443/workflows/XXX/triggers/manual/paths/invoke?api-version=2016-06-01",
"body": "{\"Option\": \"Accept\"}",
"headers": [
{
"name": "Authorization",
"value": ""
},
{
"name": "Content-type",
"value": "application/json"
}
],
"isPrimary": true,
"style": "positive"
},
{
"type": "Action.ShowCard",
"id": "e1487cbc-66b0-037e-cdc4-045fb7d8d0b8",
"title": "Reject",
"card": {
"type": "AdaptiveCard",
"body": [
{
"type": "Input.Text",
"id": "Comment",
"placeholder": "Add a comment",
"isMultiline": true
},
{
"type": "ActionSet",
"id": "1e77f639-e5a8-320f-c6de-4291227db6b3",
"actions": [
{
"type": "Action.Http",
"id": "1ca3a888-ebfb-1feb-064b-928960616e52",
"title": "Submit",
"method": "POST",
"url": "https://prod-43.uksouth.logic.azure.com:443/workflows/XXX/triggers/manual/paths/invoke?api-version=2016-06-01",
"body": "{\"Option\": \"Reject\"}",
"headers": [
{
"name": "Authorization",
"value": ""
},
{
"name": "Content-type",
"value": "application/json"
}
]
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"fallbackText": "Unable to render the card",
"padding": "None"
}
}
],
"spacing": "None"
}
],
"spacing": "None",
"separator": true
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0",
"padding": "None",
"hideOriginalBody": true,
"originator": "946088f4-eec5-428d-8611-40d5fc56e4a3"
}
Categories:
I have the same question (3)
  • SP-18032151-0 Profile Picture
    2 on at
    Hi,
    I am also facing the same issue. Did you find any working solution?
     
    Regards,
    Saurabh

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard