<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Accept application/xml in tRest error http 406 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240563#M28005</link>
    <description>what about server Logs&lt;BR /&gt;</description>
    <pubDate>Thu, 12 Sep 2019 14:16:03 GMT</pubDate>
    <dc:creator>fdenis</dc:creator>
    <dc:date>2019-09-12T14:16:03Z</dc:date>
    <item>
      <title>Accept application/xml in tRest error http 406</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240555#M27997</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I try to get XML with my tRest component, so I set this :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_9.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Gq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137172iEBDA304B4936231E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Gq.png" alt="0683p000009M7Gq.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;But I have an HTTP 406 error.... I also tried to add Content-Type application/xml or Content-Type test/plain (because it's like this in postman) but it doesn't work... However it works perfectly in postman with just adding Accept : application/xml in the "Headers" part.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can someone helps me with that ?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 10:02:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240555#M27997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-12T10:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Accept application/xml in tRest error http 406</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240556#M27998</link>
      <description>hi,
&lt;BR /&gt;what is the body of server response?
&lt;BR /&gt;
&lt;BR /&gt;If a server returns such an error status, the body of the message should contain the list of the available representations of the resources, allowing the user to choose among them.</description>
      <pubDate>Thu, 12 Sep 2019 10:24:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240556#M27998</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2019-09-12T10:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Accept application/xml in tRest error http 406</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240557#M27999</link>
      <description>What if you replace Accept by Content-Type?</description>
      <pubDate>Thu, 12 Sep 2019 10:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240557#M27999</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-09-12T10:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Accept application/xml in tRest error http 406</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240558#M28000</link>
      <description>&lt;P&gt;Démarrage du job test_conf_event a 11:58 12/09/2019.&lt;BR /&gt;[statistics] connecting to socket on port 3860&lt;BR /&gt;[statistics] connected&lt;BR /&gt;200||{"id":-4772057240064483897,"login":"agirard","username":"Alain Girard","system":null,"client":"STA"}&lt;BR /&gt;&amp;lt;!doctype html&amp;gt;&amp;lt;html lang="fr"&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;État HTTP 406 – Inacceptable&amp;lt;/title&amp;gt;&amp;lt;style type="text/css"&amp;gt;h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}&amp;lt;/style&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h1&amp;gt;État HTTP 406 – Inacceptable&amp;lt;/h1&amp;gt;&amp;lt;hr class="line" /&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt; Rapport d'état&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;description&amp;lt;/b&amp;gt; La ressource identifiée par cette requête n'est capable de générer des réponses qu'avec des caractéristiques incompatible avec la directive "accept" présente dans l'entête de requête.&amp;lt;/p&amp;gt;&amp;lt;hr class="line" /&amp;gt;&amp;lt;h3&amp;gt;Apache Tomcat/9.0.21&amp;lt;/h3&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;|406&lt;BR /&gt;[statistics] disconnected&lt;/P&gt; 
&lt;P&gt;Job test_conf_event terminé à 11:58 12/09/2019. [Code sortie=0]&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Sorry it's in french but it returns : The ressource identify by this request is not able to handle answers only with caracteritics incompatible with the "accept" directive in the headers of the request.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 11:03:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240558#M28000</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-12T11:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Accept application/xml in tRest error http 406</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240559#M28001</link>
      <description>&lt;P&gt;I Already tried.. It doesn't work&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 11:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240559#M28001</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-12T11:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accept application/xml in tRest error http 406</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240560#M28002</link>
      <description>did you try without Accept directive?&lt;BR /&gt;did you have access to Server log or Application.&lt;BR /&gt;can you check if server accept the Accept directive?</description>
      <pubDate>Thu, 12 Sep 2019 12:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240560#M28002</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2019-09-12T12:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Accept application/xml in tRest error http 406</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240561#M28003</link>
      <description>you may try Accept-Language or Accept-Charset: utf-8</description>
      <pubDate>Thu, 12 Sep 2019 12:16:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240561#M28003</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2019-09-12T12:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Accept application/xml in tRest error http 406</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240562#M28004</link>
      <description>&lt;P&gt;As I said, it works perfectly in Postman with the Accept : "application/xml", when I do it without the Accept I get text in json format, but i want it in XML..&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I also try your others solutions with charset and language, combine and not combine with the accept, it doesn't work...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 13:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240562#M28004</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-12T13:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Accept application/xml in tRest error http 406</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240563#M28005</link>
      <description>what about server Logs&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Sep 2019 14:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Accept-application-xml-in-tRest-error-http-406/m-p/2240563#M28005</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2019-09-12T14:16:03Z</dc:date>
    </item>
  </channel>
</rss>

