Bug - Server returned HTTP response code: 400 for URL

All your suggestions, requests and ideas for future development
Post Reply
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Bug - Server returned HTTP response code: 400 for URL

Post 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
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post by rednoah »

That's an API issue. The API shouldn't return invalid URLs. Please report the issue to the Fanart TV developers.
:idea: Please read the FAQ and How to Request Help.
Post Reply