DML operation giving undefined Salesforce Lightning April 26, 2016June 9, 2022InfallibleTechie Admin Check the debug log. If the DML operation is failed, we get “Undefined” error. Cheers!!!