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 / Send an HTTP request -...
Power Automate
Unanswered

Send an HTTP request - 411 Length Required

(1) ShareShare
ReportReport
Posted on by 84
I am trying to update the subject of an email using Power Automate. The flow is triggered by the email being received in a shared mailbox, it does a bunch of things and then I have a compose action to take the email subject and add a reference number to it, it's just a string, that's working fine. Then there is an Outlook connector "Send an HTTP request", which is very simple, but it doesn't seem to be carrying the correct headers through, Content-Length is missing.
 
Here is the workflow Send an HTTP request step:
 
The expression in the compose action:
 
Raw inputs once I test the workflow:
The MessageID was a bit long, so I scrolled over a bit, but you can see the dynamic content is working and the URI seems fine, but the Content-Length header is missing.
 
And the raw outputs as well, in case that is helpful:
That really was too long, so I copied it to Word before taking the screenshot.
 
It seems like it should be pretty straightforward, I'm not sure why it isn't working. Is what I am trying to do not possible with the Outlook connector, maybe? I can't use any other HTTP connecters, it says it's a premium feature not included in my licence. If it's not possible in Power Automate, I might be able to sort something out with an Outlook macro instead, but I'm not great with those so I'd rather not.
 
 
Categories:
I have the same question (0)
  • WillPage Profile Picture
    2,307 Super User 2025 Season 2 on at
    In the advanced parameters you can add up to 5 custom headers to the HTTP request. So all you gotta do is add one with the name content-length and the value is length('Compose') where the Compose is the one you screen shotted above with the string() function in there.
  • MelBo Profile Picture
    84 on at
    Hi WillPage, thank you for your answer.
     
    How can I add a custom header? Writing "ContentLength": "length(outputs, etc)" just comes up like this:
     
    The custom header is just called CustomHeader1, so it doesn't resolve the error. 
  • VictorIvanidze Profile Picture
    13,073 on at
    If you are handling an email in a shared mailbox, you need to use 
    instead of 
  • RM-05111957-0 Profile Picture
    2 on at
    I am facing the same problem and I couldn't solve my problem using this connector.
    However I realized that there is an Update Event (V4) connector in which you can update several informations including the attendes. 
    I am making some tests. I could include a new email in the invite, but the person didn't receive the invite. Furthemore, the update change the event, removing the information regarding teams.
     
     
    Regards 

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