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
Gomathy GiriGomathy Giri 

first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Account number must be 8 characters long.: []

I dont have an option to select Accounts in Records dropdown.....User-added image


 
VinayVinay (Salesforce Developers) 
Hi Giri,

The account record that you are trying to insert should have its name with a minimum length of 8 characters.  There must be a custom validation rule try to deactivate and that should fix the issue.

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar