renamed parameter to action
Change to custom error validation