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)

"Failed to execute 'postMessage' on 'Window': 2 arguments required, but only 1 present" error in CRM Online

(0) ShareShare
ReportReport
Posted on by

Folks over the past week or so, we've been seeing these javascript errors start appearing on our sandbox instances of CRM Online.

The error appears to originate in the JsProvider.ashx and cdnavailabilityworker.js files which are internal to the CRM.

My question is what causes these errors?  Are these a result of Microsoft updating our CRM Online site and introducing a bug or is it something we've done on our end? It seems to be on Microsoft's side since we have an out of box instance (organization) without any customizations that we created a month or so ago which has the same errors.  The issue shows up in Chrome and IE and after clearing the browser cache.

Is this a known issue?  Does this require a support incident for MS to resolve?

Stack trace:

JsProvider.ashx?ids=346338581-1481678315&ver=1365697046:35

Uncaught TypeError: Failed to execute 'postMessage' on 'Window': 2 arguments required, but only 1 present. in devmaster.crm.dynamics.com/.../cdnavailabilityworker.js at 8:13

TypeError: Failed to execute 'postMessage' on 'Window': 2 arguments required, but only 1 present.
    at XMLHttpRequest.xmlHttpRequest.onreadystatechange (cdnavailabilityworker.js?ver=1365697046:8)
    at self.onmessage (cdnavailabilityworker.js?ver=1365697046:11)
window.onerror @ JsProvider.ashx?ids=346338581-1481678315&ver=1365697046:35
self.onmessage @ cdnavailabilityworker.js?ver=1365697046:11
postMessage (async)
MarsIframe.SendPostMessage @ MarsIframe.js:637
MarsIframe.authenticateMarsUser @ MarsIframe.js:604
(anonymous) @ MarsIframe.js:548
fire @ jquery-2.1.1.js:3104
fireWith @ jquery-2.1.1.js:3216
deferred.(anonymous function) @ jquery-2.1.1.js:3306
(anonymous) @ MarsIframe.js:433
fire @ jquery-2.1.1.js:3104
fireWith @ jquery-2.1.1.js:3216
deferred.(anonymous function) @ jquery-2.1.1.js:3306
(anonymous) @ MarsIframe.js:491
n @ bluebird.js:23
e._settlePromiseFromHandler @ bluebird.js:23
e._settlePromiseAt @ bluebird.js:23
e._settlePromises @ bluebird.js:23
r._drainQueue @ bluebird.js:22
r._drainQueues @ bluebird.js:22
drainQueues @ bluebird.js:22
attributes (async)
(anonymous) @ bluebird.js:23
r._queueTick @ bluebird.js:22
r.settlePromises @ bluebird.js:22
e._queueSettlePromises @ bluebird.js:23
e._fulfillUnchecked @ bluebird.js:23
e._fulfill @ bluebird.js:23
e._resolveCallback @ bluebird.js:23
(anonymous) @ bluebird.js:23
(anonymous) @ auth.js:227
window.callBackMappedToRenewStates.(anonymous function).window.callBackMappedToRenewStates.(anonymous function) @ adal.js:2
AuthenticationContext.handleWindowCallback @ VM1927 adal.js:2
(anonymous) @ VM1928 authRedirect.js:38
(anonymous) @ VM1928 authRedirect.js:43
12:57:32.011 MarsIframe.js:637 Uncaught TypeError: Failed to execute 'postMessage' on 'Window': 2 arguments required, but only 1 present.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Arjay,

    I've been seeing the same thing. Set up a sandbox environment this week and am getting these errors all over the place with no customizations done to the environment at all. Is your sandbox version 1612 (8.2.2.128)?

    I have a case open with Microsoft about it.  The technician I spoke to said that they have an internal bug report about this item, but didn't offer more detail than that.  I'll let you know when I get an answer.

  • Community Member Profile Picture
    on at

    Awesome, thanks John.  We'll probably file a support incident as well.  If you can post the internal bug #, we can reference it (if MS will give that to you).

  • CRMInnovation.com Profile Picture
    on at

    John K. - any chance you could post the support case # that I can use to connect to the product team on this 'bug'?

    Thanks 

  • Community Member Profile Picture
    on at

    I don't have the bug number for you, only our support request number, 117110791040174.

  • CRMInnovation.com Profile Picture
    on at

    that's exactly what I needed. thanks.

  • Community Member Profile Picture
    on at

    Our support request is 117110917124794.  Thanks.

  • Alexander BB Profile Picture
    295 on at

    #WeToo

  • Community Member Profile Picture
    on at

    We are running into the same issue on our production site. Is there any solution or temporary work around?

    Version 1612 (8.2.2.128) (DB 8.2.2.128) online

  • Alexander BB Profile Picture
    295 on at

    Hi All,

    There is no Fix yet but you can supress the notifications individualy or for all users:

    https://technet.microsoft.com/en-us/library/hh699745(v=crm.6).aspx#Anchor_0

    Turn on automatic web application error reporting for the organization

  • billiardguy Profile Picture
    70 on at

    We are having the same issue.  But it is only occurring for 3 users out of many so far.  It started 3 days ago with the same online version as mentioned above.

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