I am getting an error when trying to do a validation on a changeset on production. The error that I receive is as below.
System.DmlException: Insert failed. First exception on row 0; first error: UNKNOWN_EXCEPTION, The record couldn’t be saved because it failed to trigger a flow. A flow trigger failed to execute the flow with version ID 301440009000Pvmc. Flow error messages: An unhandled fault has occurred in this flow
An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information. Contact your administrator for help.:  Stack Trace: Class.AutoUpdateTeam_Test.testpartTeamUpdate: line 178, column 1
The code on that line 178 is to insert record
list<Part__c> partList = new list<Part__c> (); Part__c part9 = new Part__c(); part9.Opportunity__c = opp.id; part9.Product__c = product.id; part9.ASP__c = '345'; part9.Stage__c = 'Design Lost'; part9.Reason_Design_Closed__c = 'Lost/Price'; part9.Part_Probability__c = 20; part9.name = 'Test Part'; partListInsert.add(part9); partList.add(part9); insert partList
Is there a way to check what is causing this error? I checked on debug logs by enabling and was not able to track it. How can I know the exact reason for this error?