I am trying to fix some test coverage. I have about a dozen fails across this org and every test fails for the same reason. The error is:

FIELD_CUSTOM_VALIDATION_EXCEPTION, <span style="font-weight:normal;"> Price Book name entered is invalid. Please use the <b>Choose Price Book</b> button to change the Price Book.</span>: []

I'm not quite sure where I should look. I used the Tooling API to query all validation rules to see if any of them throw their error and that didn't show me anything.

Kugamon is installed and the object that is created which triggers this error is one of their objects.

Can someone steer me in the right direction?

1 Answer 1


Apex can also run validations which cause FIELD_CUSTOM_VALIDATION_EXCEPTION, so this erro may well be caused by code. You should contact the package author for support.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .