function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
hanain hafeezhanain hafeez 

Distribute the flow with a custom button error

Hi everyone, I keep receiving the same error message when I go to verify the Distribute the flow with a custom button unit in the Build a discount calculator module. The error message is as follows: There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Account number must be 8 characters long: []

Can anyone please shed some light as to why this is?

Thank you!
KartikChadhaKartikChadha
Hi Hanain,
Please check if there are any validation rules present in the Account or Opportunity object. Please verify the same.