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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error when editing and...
Power Apps
Suggested Answer

Error when editing and viewing forms - MDA (across different apps, env, tenants and browsers)

(1) ShareShare
ReportReport
Posted on by 195
When editing forms in a model-driven app, quite often an error message appears on the form (the form is blank and can't be clicked) stating: "Error Something went wrong".
 
The only resolution appears to be to refresh the browser, losing any changes made since the last save point. It can happen at any point of editing a form and doesn't seem to have a pattern to it.
 
 
This is happening on forms for both out-of-the-box tables (account, contact) and custom tables.
 
 
Has anyone else experienced this? Any tips to resolve?
Categories:
I have the same question (0)
  • gulshankhurana Profile Picture
    1,397 Moderator on at
    Hi
     
    What does it say when you click on 'Show Details'? For any troubleshooting, it helps if the error log is available.
     
    Kind regards
     
    Gulshan 
  • Mattb-Motive Profile Picture
    195 on at
     
    Unfortunately, none of the buttons or links on the dialogue box are clickable. So, it's not possible to see the error log. The only action you can take is clicking the browser's back arrow or refreshing the browser.
     
    It's like the error is happening in the preview of the form.
     
    Will try to see if Developer Tools shows anything.
  • Mattb-Motive Profile Picture
    195 on at
    A similar looking error appeared when using the app (although I can't be 100% sure it's the same error).
     
    EDIT: This doesn't seem to be the same error that is happening when editing the form (see other reply)
     

    Something has gone wrong. Check technical details for more details.

    Learn more
     
    Hide details
    • Session Id: [Removed]
    • Activity Id: [Removed]
    • Timestamp: Fri Mar 14 2025 09:49:06 GMT+1000 (Australian Eastern Standard Time)
    Cannot read properties of undefined (reading 'indexOf')
    TypeError: Cannot read properties of undefined (reading 'indexOf') at String._toFormattedString (https://content.powerapps.com/resource/uci-infra-web/scripts/MicrosoftAjax.0e42282974e6a0c11842f769c467f9c3.js:1:7849) at String.format (https://content.powerapps.com/resource/uci-infra-web/scripts/MicrosoftAjax.0e42282974e6a0c11842f769c467f9c3.js:1:7740) at https://content.powerapps.com/resource/uci-infra-web/scripts/app.bb76892840fe460a89e5468818b8a340.js:4:52950 at Array.map (<anonymous>) at https://content.powerapps.com/resource/uci-infra-web/scripts/app.bb76892840fe460a89e5468818b8a340.js:4:52872 at r.mapToProps (https://content.powerapps.com/resource/uci-infra-web/scripts/editformpage.f1a045337e918ba8362a8127981dd541.js:4:478638) at r (https://content.powerapps.com/resource/uci-infra-web/scripts/vendor.41182f40158752b47658ab06a0afe6d1.js:25:31312) at r.mapToProps (https://content.powerapps.com/resource/uci-infra-web/scripts/vendor.41182f40158752b47658ab06a0afe6d1.js:25:31526) at r (https://content.powerapps.com/resource/uci-infra-web/scripts/vendor.41182f40158752b47658ab06a0afe6d1.js:25:31312) at https://content.powerapps.com/resource/uci-infra-web/scripts/vendor.41182f40158752b47658ab06a0afe6d1.js:25:32660
     
  • Mattb-Motive Profile Picture
    195 on at
    This is happening across multiple apps (Dynamics and Power Apps), environments, tenants and browsers. How aren't more people seeing this issue???

    It's also happening while editing forms and viewing the app. So, end users could be seeing this too.
  • Mattb-Motive Profile Picture
    195 on at
    Error message from form when editing (Dataverse URL changed):
     
     
    Form descriptor is null or not defined
    UciError: Form descriptor is null or not defined at s (https://abc123.crm5.dynamics.com/uclient/scripts/app.js?v=1.4.9902-2502.4:33:941039) at new m (https://abc123.crm5.dynamics.com/uclient/scripts/app.js?v=1.4.9902-2502.4:28:151602) at https://abc123.crm5.dynamics.com/uclient/scripts/41.js?v=1.4.9902-2502.4:4:46385 at Object.execute (https://abc123.crm5.dynamics.com/uclient/scripts/41.js?v=1.4.9902-2502.4:4:46437) at https://abc123.crm5.dynamics.com/uclient/scripts/app.js?v=1.4.9902-2502.4:14:577517 at new Promise (<anonymous>) at w._executeAsyncAction (https://abc123.crm5.dynamics.com/uclient/scripts/app.js?v=1.4.9902-2502.4:14:577218) at w._executeAsync (https://abc123.crm5.dynamics.com/uclient/scripts/app.js?v=1.4.9902-2502.4:14:577062) at w.executeAction (https://abc123.crm5.dynamics.com/uclient/scripts/app.js?v=1.4.9902-2502.4:14:576327) at t.dispatch (https://abc123.crm5.dynamics.com/uclient/scripts/app.js?v=1.4.9902-2502.4:14:581688)
  • GR-25091135-0 Profile Picture
    8 on at
    Matt

    Yes we get this all the time. Seems to have only been happening in the last few months. Cannot click the link. I wonder if this is related to sign in somehow. We also get Sign In message that you cannot click on for any canvas App embedded in the model driven form. This has stopped the creation of a canvas App from the form working too. I need to create a ticket for that, but I sort of have a template and can copy that as a workaround. If you don't have an App already with the integration object, I would be interested to see if anyone else can get that working.

  • GR-25091135-0 Profile Picture
    8 on at
    Matt
     
    I have a feeling this is likely to do with JavaScript, at least in our case. I cannot find the issue but if you are using JavaScript you could take a look at this and see if it helps: https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/troubleshoot-forms?wt.mc_id=knwlserAPI_inproduct_copilotstudio#intermittent-form-errors

    G
  • GR-25091135-0 Profile Picture
    8 on at
    If you go into Inspect, and set the overlay to uncheck the Position: Absolute, you can then click the links and button...!

    This may give more details to help fix the issue. My issue is reporting 'Cannot read properties of undefined (reading 'indexOf')' but all references are in uclient/scripts/MicrosoftAjax.js or uclient/scripts/vendor.js, so I'm no nearer a solution. It seems to be a race condition as often will not error.
  • RyanAutomates Profile Picture
    139 on at
    Not a fix, but I'll just say my thoughts on this.
     
    This is happening in many environments I work in at the moment also. I expect makers simply refresh, or go "back" and open the form again (like I do), waiting for Microsoft to fix it. Best thing to do is open a Microsoft ticket, but as it's not "breaking", they will take their time with it. I have a hunch it's to do with Microsoft trying to run custom enabled JavaScript web resources in the actual form editor, but not something I could look into deeply.
  • Suggested answer
    MA-01071341-0 Profile Picture
    2 on at
    Hi All who have this issue
     
    Clear your browser cache AND your cookies. This fixed it for me. Just clearing my browser cache caused a bad request error when opening the app but clearing both fixed that and this issue for me.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard