function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Stefanie van de PoelStefanie van de Poel 

Error in RecordEditForm Lightning component since Spring '20

Since Spring '20 we have this error when saving something in the RecordEditForm
This page has an error. You might just need to refresh it. First, would you give us some details? (We're reporting this as error ID: -401611753)
Uncaught Action failed: lightning:recordEditForm$controller$handleGetRecord [Cannot read property 'apiName' of undefined]
throws at https://acuitybv.lightning.force.com/auraFW/javascript/kHqYrsGCjDhXliyGcYtIfA/aura_prod.js:58:15. Caused by: Action failed: lightning:recordEditForm$controller$handleGetRecord [Cannot read property 'apiName' of undefined]
Object.handleGetRecord()@https://acuitybv.lightning.force.com/components/lightning/recordEditForm.js:18:121
handleGetRecord()@https://acuitybv.lightning.force.com/components/lightning/recordEditForm.js:4:47

It appears to be in the standard lighting component from the library.

Does anyone have any insight in what this error means and if it's something we can do anything about?
Ryan GreeneRyan Greene
Please post the Lightning Comp with controller and helper. I've seen this before in my orgs. It was caused by bad coding somehwere in the comp.