Page 1 of 1

Bug - Server returned HTTP response code: 400 for URL

Posted: 09 Jun 2017, 23:04
by kim
Log:
saveAs - Fetching [The Big Bang Theory\landscape.jpg] => [tvthumb, en, 6.0, http://assets.fanart.tv/fanart/tv/80379/tvthumb/T_80379 (0).jpg]
IOException: Server returned HTTP response code: 400 for URL: http://assets.fanart.tv/fanart/tv/80379/tvthumb/T_80379 (0).jpg
Maybe because of this ?:
Now browser replaces the spaces between "a nightmare on elm street" by "%20" internally and parses. That is why the requested server can response by that request. But From Java I didn't replaced that spaces by "%20", so it turns into Bad Request, source.
https://stackoverflow.com/questions/934 ... e-code-400

testfile: The.Big.Bang.Theory.S00E03
http://webservice.fanart.tv/v3/tv/80379 ... 2f392c2deb

Re: Bug - Server returned HTTP response code: 400 for URL

Posted: 10 Jun 2017, 05:36
by rednoah
That's an API issue. The API shouldn't return invalid URLs. Please report the issue to the Fanart TV developers.