Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

I have no custom script, Getting Script error

(0) ShareShare
ReportReport
Posted on by

I am new to dynamics 365, and am doing a project and I keep getting this error 

One of the scripts for this record has caused an error. For more details, download the log file.

And This is the log file

UserSettings.prototype.onLoadSetValue@sulehealth1010.crm.dynamics.com/.../msdyn_userSettings.js
@sulehealth1010.crm.dynamics.com/.../ClientApiWrapper.aspx line 160 > eval:1:45
RunHandlerInternal@sulehealth1010.crm.dynamics.com/.../ClientApiWrapper.aspx
RunHandlers@sulehealth1010.crm.dynamics.com/.../ClientApiWrapper.aspx
OnScriptTagLoaded@sulehealth1010.crm.dynamics.com/.../ClientApiWrapper.aspx
AppendScriptTag/scriptTag.onload/<@https://sulehealth1010.crm.dynamics.com/form/ClientApiWrapper.aspx?ver=1727124286:244:18

I don't know what the error is so can anyone help pls?

  • Suggested answer
    Adrian Begovich Profile Picture
    1,023 Super User 2025 Season 1 on at
    RE: I have no custom script, Getting Script error

    Hi Sule,

    I do not recommend removing the msdyn_usersettings.js JavaScript file. It is better to debug the JavaScript to find the actual cause of the issue.

  • Community Member Profile Picture
    on at
    RE: I have no custom script, Getting Script error

    Hi there, I did as you have said and i have removed the msdyn_usersettings.js. And the error is gone. thank you so much. but one more thing since am only a student I don't know if removing it will cause any problems?

  • Suggested answer
    AJ-22040756-0 Profile Picture
    on at
    RE: I have no custom script, Getting Script error

    HI Partner

    IT seems that there's an onload script on the form which might be causing this error, check if any OOB/custom onload script is present for the form

    You can check for onload script by navigating to settings -> customization -> customize the system -> Expand the entity -> select the form and click on form properties.

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 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,081 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,860 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans