Skip to main content

Trying to update / insert records from a CSV using CustomMetadataLoader and getting this message:  Web service callout failed: WebService returned a SOAP Fault: Cannot flip on commit allowed, disabled by:Commit Not Allowed By DBContext:Protect.Apex.Transaction.Contract-1641932008379 Error Id: 1284665686-420684 (-2026009058) faultcode=soapenv:Server faultactor= Error is in expression '{!upsertCustomMetadata}' in component <apex:commandButton> in page custommetadatarecorduploader: Class.MetadataService.MetadataPort.upsertMetadata: line 9261, column 1 Class.MetadataUtil.upsertMetadataAndValidate: line 158, column 1 Class.MetadataUtil.transformToCustomMetadataAndCreateUpdate: line 124, column 1 Class.CustomMetadataUploadController.importCSVFileAndCreateUpdateCmdRecords: line 144, column 1 Class.CustomMetadataUploadController.upsertCustomMetadata: line 52, column 1  Any ideas?

1 resposta
  1. 13 de jan. de 2022, 21:55

    We have a migration script that deploys CMT and it is randomly hitting this error as well. Re-running it always works so it seems to be a random SF bug that happens when deploying CMT records.

0/9000