<?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: tHttpRequest an tRest : error 400 Bad Request when special character blank space in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312038#M83022</link>
    <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;Unfortunately, it's not working for me :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;com.sun.jersey.api.client.ClientHandlerException: java.lang.IllegalArgumentException: URI is not absolute&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 May 2018 11:34:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-09T11:34:11Z</dc:date>
    <item>
      <title>tHttpRequest an tRest : error 400 Bad Request when special character blank space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312034#M83018</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I'm using a tHttpRequest in GET mode. when I send a link without spaces or special characters like "€", it works very well. As soon as there is a space or other special character in my data it returns me a message "400 bad request". When I put the same link on an explorer it goes very well. I also tried with a tRest but I have the same message. I tried to make an URLEncoder.encode in UTF-8, but here it crashes.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Can you help me please ?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.png" style="width: 988px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/9143i0593CA8D4CB42F7B/image-size/large?v=1.0&amp;amp;px=999" title="Screenshot_1.png" alt="Screenshot_1.png" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 May 2018 18:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312034#M83018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-06T18:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: tHttpRequest an tRest : error 400 Bad Request when special character blank space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312035#M83019</link>
      <description>&lt;P&gt;Any help ?&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 10:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312035#M83019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-07T10:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: tHttpRequest an tRest : error 400 Bad Request when special character blank space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312036#M83020</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;I have almost the same type of error.&lt;/P&gt; 
&lt;P&gt;I'm trying to send an OData query via tRest component, and have a filter like "CFISCYEAR eq 2018" in my URL.&lt;/P&gt; 
&lt;P&gt;Because of the spaces I have in this filter, I get a&amp;nbsp;java.lang error :&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&amp;nbsp;IllegalArgumentException: Illegal character in query at index 146.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;Any help would be welcome and appreciated&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 11:09:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312036#M83020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-09T11:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: tHttpRequest an tRest : error 400 Bad Request when special character blank space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312037#M83021</link>
      <description>&lt;P&gt;Wrap your URL within this code.....&lt;/P&gt;&lt;PRE&gt;java.net.URLEncoder.encode(yourURL, "UTF-8") &lt;/PRE&gt;</description>
      <pubDate>Wed, 09 May 2018 11:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312037#M83021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-09T11:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: tHttpRequest an tRest : error 400 Bad Request when special character blank space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312038#M83022</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;Unfortunately, it's not working for me :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;com.sun.jersey.api.client.ClientHandlerException: java.lang.IllegalArgumentException: URI is not absolute&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 11:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312038#M83022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-09T11:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: tHttpRequest an tRest : error 400 Bad Request when special character blank space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312039#M83023</link>
      <description>&lt;P&gt;Yours is a completely different issue. Can you raise a new question and include screenshots of your configuration. There is not enough information here.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 11:42:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312039#M83023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-09T11:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: tHttpRequest an tRest : error 400 Bad Request when special character blank space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312040#M83024</link>
      <description>&lt;P&gt;Thank you, I opened a new topic :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCrxDCAS#M75362" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/tRest-using-OData-URL-with-blank-space/m-p/119315#M75362&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 14:02:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312040#M83024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-09T14:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: tHttpRequest an tRest : error 400 Bad Request when special character blank space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312041#M83025</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The Encode function does not work because it will encode anything even the "/"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 15:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312041#M83025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-09T15:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: tHttpRequest an tRest : error 400 Bad Request when special character blank space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312042#M83026</link>
      <description>&lt;P&gt;Yes&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LONJAA4"&gt;@Moe&lt;/A&gt;&amp;nbsp;I went into more detail here:&amp;nbsp;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCrxDCAS#M75362" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/tRest-using-OData-URL-with-blank-space/m-p/119315#M75362&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I was kind of expecting it to be more of a clue than an unquestioned solution, if I am honest. Essentially you need to encode everything that is not a functional part of the URL. This means that in URLs with parameters built in, it may only just be the parameter sections.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 15:38:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHttpRequest-an-tRest-error-400-Bad-Request-when-special/m-p/2312042#M83026</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-09T15:38:06Z</dc:date>
    </item>
  </channel>
</rss>

