+ Start a Discussion
Jamie StudzinskiJamie Studzinski 

Lightning Data Service - Can't save record after validation hits

I am creating a new record of a custom Object, I have validation put in place which works fine when I try to save the new record. But when I fixed the validation error I get this error message instead 
"There's a problem saving this record. You might not have permission to edit it, or it might have been deleted or archived. Contact your administrator for help."

Any thoughts on what could cause this? 
 
SandhyaSandhya (Salesforce Developers) 
Hi,

Check if you have any trigger on the custom object which is causing this.

Best Regards,
Sandhya
 
Jamie StudzinskiJamie Studzinski

There is no trigger, I have access to all the fields. 

I have another component for another custom object set up the exact same way and any time I hit validation it lets me re-edit the new record and save with no problem. 

Shubham4462Shubham4462
can you please share your code...