Skip to main content

Notifications

Announcements

No record found.

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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans