fix error responses now has reuqest object