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
arpita bk 6arpita bk 6 

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, Address should be from US only: []

ShirishaShirisha (Salesforce Developers) 
Hi Arpita,

Greetings!

Seems like there is a validation rule as Address should be US on the respective Object which is being fired during the code execution.So, I would suggest you to remove/de-activate the validation and try again.Otherwise,while inserting/updating make sure the address is updated with US only.

If you still not clear on which validation rule or custom code is checking for the address then,I would suggest you to capture the debug logs at finest level while executing the code to figure out the same.

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri