should probably test the error text contains the invalid field name here