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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Refused to set unsafe header "Content-Length"

(0) ShareShare
ReportReport
Posted on by

Hi,

Error : Refused to set unsafe header "Content-Length"

I get this javascript error in every form, view etc. What is it? How can i solve this issue? It appears with JsProvider.ashx. Sometimes it block to work form.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi,

    Have you written an XML request in the Javascript library registered in the form? It can lead to this error.

    See: http://stackoverflow.com/questions/7210507/ajax-post-error-refused-to-set-unsafe-header-connection

    Hope this helps.

  • Varadarajan_84 Profile Picture
    on at

    Hi Mehmet,

    What browser are you using? Are you experiencing this behavior on IE 11?

    If you are using Google chrome what is the version number?

    Thanks.

  • Community Member Profile Picture
    on at

    Actually, i found that this happens on Chrome, if i use IE then there is no error. I also realise that there are lots of javascript errors if i use other browsers instead of IE.

  • Community Member Profile Picture
    on at

    Hi Varadarajan, I use Chrome Version 56.0.2924.87

  • Suggested answer
    Community Member Profile Picture
    on at

    I think it's happening only because Chrome and IE implement some standards in different ways. I also have this error, but feels like it's doesn't lead to any real problem.

  • M2012 Profile Picture
    576 on at

    Hi there,

    I'm also facing same issue. It has any affecting area. 

    Currently everything working fine.

    What could be the ultimate solution for 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans