Only create an InvalidError object if the server respons with an error list