Error: Invalid Data.
Review all error messages below to correct your data.
Apex trigger UserTrigger caused an unexpected exception, contact your administrator: UserTrigger: execution of BeforeInsert caused by: System.QueryException: List has no rows for assignment to SObject: Trigger.UserTrigger: line 17, column 1
3 respuestas
Hi Wendi,
This means that there is a trigger on User object which is giving this error. This error occur when your SOQL query does not returns any results. You have to refactor your trigger to resolve this issue. Below article explains how we can resolve these kind of errors:
https://help.salesforce.com/articleView?id=000159853&type=1
-- Sudhir.