Skip to main content

Notifications

Power Automate - Connector Development
Unanswered

The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF

(0) ShareShare
ReportReport
Posted on by 13

Im Receiving the following error when I try to use a custom connector that was working weeks ago, do you have a similar issue?

 

{
"content-length": "255",
"content-type": "application/json"
}

 

{
"error": {
"code": 500,
"message": "The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF",
"source": "europe-001.azure-apim.net",
"path": "forward-request",
"policyId": ""
}
}

Categories:
  • LucaSain Profile Picture
    LucaSain 13 on at
    Re: The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF

     

    I found something interesting,

    seems that there is some problem with the content of the response headers from the API inside the Power Automate Custom Connector,

    seems that  the vendor is returning \n (new line char) inside the Content-Security-Policy header

    https://social.technet.microsoft.com/Forums/en-US/b10b16d1-8eea-4b52-8aeb-f96ea87135fa/sectionresponseheader-detailcr-must-be-followed-by-lf#:~:text=Section%3DResponseHeader%20Detail%3DCR%20must%20be%20followed%20by%20LF%20error,%28%3CCR%3E%3CLF%3E%29%20makes%20the%20same%20effect%20as%20%E2%80%9CEnter%E2%80%9D%20does. 

     

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics