The mimetype "text/html" of the returned response is not acceptable according to the accept header sent.