<?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: tHTTPClient, response body format: text result in unknown characters in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tHTTPClient-response-body-format-text-result-in-unknown/m-p/2543336#M149416</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Check the API/URL response headers – Confirm that the service returns a proper Content-Type (e.g., application/json, text/plain, etc.).&lt;/P&gt;&lt;P&gt;Add an explicit header in tHTTPClient – Set Accept: application/json (or the expected type) in HTTP headers.&lt;/P&gt;&lt;P&gt;Use tExtractJSONFields / tExtractXMLField after tHTTPClient to parse the body based on the actual content format.&lt;/P&gt;&lt;P&gt;If the API returns binary or unknown formats, write the raw response to file and parse manually.&lt;/P&gt;&lt;P&gt;Quick fix in tHTTPClient Advanced settings :Accept: application/json&lt;/P&gt;&lt;P&gt;If response still shows “unknown”, capture the full HTTP response (headers + body) and share it so we can determine the correct parser to use.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gourav&lt;/P&gt;</description>
    <pubDate>Thu, 19 Feb 2026 09:01:27 GMT</pubDate>
    <dc:creator>gouravdubey5</dc:creator>
    <dc:date>2026-02-19T09:01:27Z</dc:date>
    <item>
      <title>tHTTPClient, response body format: text result in unknown characters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPClient-response-body-format-text-result-in-unknown/m-p/2543268#M149415</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I'm using tHTTPClient component to call an API that responds with a JSON body but I use text response body format because the component crashes otherwise (JSON response body format).&lt;BR /&gt;&lt;BR /&gt;On the TMC this is how the fields are looking after tExtractJSONField:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{"message":"�tre ant�rieure �"}]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Every accentuated (non Ascii it seems) character is replaced with ? for some reason.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The crash that happens when using JSON response body format:&lt;/P&gt;&lt;LI-CODE lang="java"&gt;Exception raised during HTTP call: (class java.lang.IllegalArgumentException) Despite the HTTP response status 200 OK, failing to read payload as JSON because of 'Unexpected IO exception on [lineNumber=1, columnNumber=1, streamOffset=0]': Here are the 222 first characters out of 222 of the HTTP response payload&lt;/LI-CODE&gt;&lt;P&gt;Said payload seems to be a JSON string (parsed as valid JSON when copied/pasted into any parser.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VictorFaure_1-1771425273344.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/186976i74E66687203F8D67/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VictorFaure_1-1771425273344.png" alt="VictorFaure_1-1771425273344.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2026 14:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPClient-response-body-format-text-result-in-unknown/m-p/2543268#M149415</guid>
      <dc:creator>VictorFaure</dc:creator>
      <dc:date>2026-02-18T14:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPClient, response body format: text result in unknown characters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPClient-response-body-format-text-result-in-unknown/m-p/2543336#M149416</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Check the API/URL response headers – Confirm that the service returns a proper Content-Type (e.g., application/json, text/plain, etc.).&lt;/P&gt;&lt;P&gt;Add an explicit header in tHTTPClient – Set Accept: application/json (or the expected type) in HTTP headers.&lt;/P&gt;&lt;P&gt;Use tExtractJSONFields / tExtractXMLField after tHTTPClient to parse the body based on the actual content format.&lt;/P&gt;&lt;P&gt;If the API returns binary or unknown formats, write the raw response to file and parse manually.&lt;/P&gt;&lt;P&gt;Quick fix in tHTTPClient Advanced settings :Accept: application/json&lt;/P&gt;&lt;P&gt;If response still shows “unknown”, capture the full HTTP response (headers + body) and share it so we can determine the correct parser to use.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gourav&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 09:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPClient-response-body-format-text-result-in-unknown/m-p/2543336#M149416</guid>
      <dc:creator>gouravdubey5</dc:creator>
      <dc:date>2026-02-19T09:01:27Z</dc:date>
    </item>
  </channel>
</rss>

