Proper error codes if the widget or field cannot be found