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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Random ClientApiWrapper error after version 9 upgrade

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

Just wanted to ask if anyone has the same issue and can provide any insight on our problem.

We are having intermittent errors on our forms after our version 9 upgrade from version 8.2 on our Dynamics 365 CRM instance. Here is the error:

TypeError: Cannot read property 'onLoad' of undefined
    at eval (eval at RunHandlerInternal (https://*ommited*.crm4.dynamics.com/form/ClientApiWrapper.aspx?ver=1702233397:153:1), <anonymous>:1:22)
    at RunHandlerInternal (https://*ommited*.crm4.dynamics.com/form/ClientApiWrapper.aspx?ver=1702233397:159:1)
    at RunHandlers (https://*ommited*.crm4.dynamics.com/form/ClientApiWrapper.aspx?ver=1702233397:118:1)
    at OnScriptTagLoaded (https://*ommited*.crm4.dynamics.com/form/ClientApiWrapper.aspx?ver=1702233397:233:1)
    at https://*ommited*.crm4.dynamics.com/form/ClientApiWrapper.aspx?ver=1702233397:202:1

The error happens on loading of the form and very random, even on the same record using the same user. We've checked all of our configuration and it seems like everything is in order. We know that this is not caused by any of our customization since if it is, the error should show consistently, and we do not have any random variable that will cause an error to show randomly even for the same record.

Does anyone have any insight about this matter? Any help is greatly appreciated.

Thanks,
John

*This post is locked for comments

I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans