You need to sign in to do that
Don't have an account?
Rama NPSP
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: []
Hi
I am working on Trailhead module: Test your Process. I followed all the steps in creating Process Builder through Trailhead and I am getting below error:
Challenge Not yet complete... here's what's wrong:
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 one of you help or let me know, what I am doing wrong.
Thanks
I am working on Trailhead module: Test your Process. I followed all the steps in creating Process Builder through Trailhead and I am getting below error:
Challenge Not yet complete... here's what's wrong:
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 one of you help or let me know, what I am doing wrong.
Thanks
All Answers
After I deactivate validation rules on this object, I was able to run the process builder.
I am working on a Super badge Business Administration specialist. I am unable to complete: Create Reports and Dashboards for Sales and Marketing Managers badge. I am getting below error. I tried couple of times and unable to complete this badge :(
Challenge Not yet complete... here's what's wrong:
Could not find a report named 'Opportunities by Rep and Close Month' in the 'Global Sales Reports' folder.
Deleting the validation Rule helps clearing the challenge, however, can you help me understand why the Validation Rule conflicts over here in first place itself.
Thanks & Regards,
Varun Gulati
Deactivating a validation rule on Contact address field didn't help. It worked after I removed validation rules from account numbers as well.
What's the logic behind this? Any insights will be greatly appreciated. Thank you.
I checked and there's only one Validation Rule for contacts and it's been in place since we set up Salesforce back in December, so that can't be the cause... Help??
I had the same issue initially- Do check Validatio Rule for Account, Contracts, Opportunity to be safe. In my case, I had a Validation Rule set up under Account object, which caused the error.
My error said,
"FIELD_CUSTOM_VALIDATION_EXCEPTION, Account number must be 8 characters long: []"
In the previous exercise, I had to set up a Validation Rule to ensure my account number was at least 8 characters long. Once I deactivated this rule, I was able to pass the training.
Hope this helps!
This error comes when there is some some validation rule set up for Account object. Remove or Delete that validation rule should help you.
Peace.
P.S. I actually double checked, but i dont have any validation rules on any objects.
Hi , I got Similar error while doing the SUPERBADGE - Process Automation Specialist . In the first part of this superbadge , there is a need to create a validation .
I used following formula -
State <> 'US'
||
LEN(State) <> 2
||
NOT(Country ="US" || Country = "USA" || Country = "United States")
Here the error was "
Challenge Not yet complete... here's what's wrong:
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, State should only be US: []
Close errors " .
Can someone please help me . I cannot deactivate or delete the Validation because it is the primary requirement for the first part of the Superbadge.
"Do you have a validation rule on this object? Try to deactivate all validation rules on this object and run the process builder again"
Thanks to Megan Gallagher, my resolution is desactivate the trigger "AccountDeletion" from the Account object.
Only for support, it also can be Validation Rule from the object, required field and process builder... Thanks for all help!
try to delet Contact validation rules. it works.
LEN( State ) <> 2 || CONTAINS( Country ,"U.S") || CONTAINS( Country ,"u.s.a") || CONTAINS( Country ,"United State") || CONTAINS(Country,"United States of America") || CONTAINS(Country,"U.S.A") || NOT( ISBLANK( Country ) )
Here the error was "
Challenge Not yet complete... here's what's wrong:
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, State should only be US: []
Close errors " .
I have to create a process to grKeep contact addresses in sync with their account's address
"You've been given a requirement to keep contact addresses in sync with the accounts they belong to. Use Process Builder to create a process on the Account object that updates child Contact addresses when an account's address is updated."
I get the following error, although I have deleted both the validation rules on Contact and Account:
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Update failed. First exception on row 0 with id 0013X00002pFftsQAC; first error: FIELD_INTEGRITY_EXCEPTION, There's a problem with this country, even though it may appear correct. Please select a country/territory from the list of valid countries.: [ShippingCountry]
Does anybody know what I'm doing wrong?
1) Goto object manager -> account -> validation rules -> deactivate any validation rule if one is active.
2) If error persists, goto developer console -> open trigger -> see if any trigger related to account is triggering on this operation,
if yes deactivate it.
Hope it solves your problem:)
I did all of these steps and I have still error:
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.: []
I have no validations rules nor triggers (I checked in developer console).
Any ideas?