<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi David,<br>
    <br>
    All the dependencies for the REST API are listed here:
    <a class="moz-txt-link-freetext" href="https://github.com/Ensembl/ensembl-rest/blob/release/87/cpanfile">https://github.com/Ensembl/ensembl-rest/blob/release/87/cpanfile</a><br>
    If all these have been installed, you should have all the required
    Perl packages.<br>
    <br>
    I have seen that message for errors that are not captured. Catalyst
    then struggles to render the error and treats it as a content-type
    issue.<br>
    I would recommend checking the error logs if you have access to
    them, as they might give some insights in what is missing.<br>
    If you started your server with the
<a class="moz-txt-link-freetext" href="https://github.com/Ensembl/ensembl-rest/blob/release/87/script/ensembl_rest_server.pl">https://github.com/Ensembl/ensembl-rest/blob/release/87/script/ensembl_rest_server.pl</a>
    script, the log will display on screen in that terminal.<br>
    Additionally, if you can access the same endpoint with
    application/json, it might be able to render the error message.<br>
    <br>
    As common errors goes, please ensure you are using the same release
    version for all Ensembl checkouts, as there might be schema changes.<br>
    Additionally, the databases you connect to should also be of the
    same release version.<br>
    <br>
    <br>
    Hope that helps,<br>
    Magali<br>
    <br>
    <div class="moz-cite-prefix">On 23/01/2017 07:39, Herzig, David
      wrote:<br>
    </div>
    <blockquote
cite="mid:CANE79sCiOBVcg68hmx_EQtf-d=K4WYr9h4ARXxJAUeYmn+iT3g@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Ensembl Team
        <div><br>
        </div>
        <div>I have two instances of the ensembl system installed
          locally. To access the data I use the REST API.</div>
        <div><br>
        </div>
        <div>On one system the access using XML works (release 85). On
          the other system (release 87) if I access the REST API using
          XML format I get the message: "<span style="background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:monaco,menlo,consolas,"courier new",monospace;font-size:13px;white-space:pre-wrap">Content-Type text/xml is not supported."</span>
          <div>JSON works fine.</div>
          <div><br>
          </div>
          <div>So I guess I have missed to install some PERL packages,
            but I am not sure. Unfortunately I was not able to find the
            root cause.</div>
          <div><br>
          </div>
          <div>Do you have an idea? Is there a log file with some
            additional information?</div>
          <div><br>
          </div>
          <div>regards,</div>
          <div>David</div>
          <div><br>
          </div>
          -- <br>
          <div class="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div dir="ltr"><font face="tahoma, sans-serif">David
                      Herzig</font></div>
                  <div dir="ltr"><font face="tahoma, sans-serif">Scientific
                      Application Developer<br>
                      SIAD Solution Delivery & Architecture, pRED
                      Informatics<br>
                      Roche Pharma Research and Early Development<br>
                      Roche Innovation Center Basel<br>
                      <br>
                      F. Hoffmann-La Roche Ltd<br>
                      Grenzacherstrasse 124<br>
                      4070 Basel<br>
                      Switzerland<br>
                      Phone +41 61 687 31 70</font>
                    <p style="font-family:arial;font-size:small"><span
                        style="font-family:imago" lang="DE"><span
                          style="font-family:arial,sans-serif;color:black;font-size:10pt"><font
                            face="tahoma, sans-serif">Learn more about
                            pRED Informatics at </font></span><a
                          moz-do-not-send="true"
                          href="http://go.roche.com/pREDi"
style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13.3333px"
                          target="_blank"><span style="font-size:12.8px">http://go.roche.com/</span><b
                            style="font-size:12.8px">pREDi</b></a><br>
                      </span></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Dev mailing list    <a class="moz-txt-link-abbreviated" href="mailto:Dev@ensembl.org">Dev@ensembl.org</a>
Posting guidelines and subscribe/unsubscribe info: <a class="moz-txt-link-freetext" href="http://lists.ensembl.org/mailman/listinfo/dev">http://lists.ensembl.org/mailman/listinfo/dev</a>
Ensembl Blog: <a class="moz-txt-link-freetext" href="http://www.ensembl.info/">http://www.ensembl.info/</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>