Quantcast
Channel: Kodi Community Forum - Information Providers (scrapers)
Viewing all articles
Browse latest Browse all 707

Solved - TheMovieDB Movie scraper empty query string, API 422 Errors

$
0
0
Hi,

For a little bit when updating my library, the scan gets interrupted by an error messages "Unable to connect to remote server. Would you like to continue scanning?"

I'm using metadata.themoviedb.org v5.1.8

I noticed it happened consistently on the same titles so fetched some debug logs. It looks like for some titles, it will search for an empty string and the API returns a 422 error, triggering that error message. I don't know why some titles trigger this, and plenty of other file names work perfectly fine. I thought it might be because I have some movies with the format "MovieTitle, The" but some files without a comma fail as well. 

Here's an excerpt, more detailed logs below.


Code:
2019-08-29 16:01:11.300 T:140099665766144   DEBUG: CNFSFile::Open - opened volume1/video/Movies/Ex Machina (2015)/Ex Machina (2014).mkv
2019-08-29 16:01:11.306 T:140099665766144   DEBUG: FindMovie: Searching for '' using The Movie Database scraper (path: '/storage/.kodi/addons/metadata.themoviedb.org', content: 'movies', version: '5.1.8')
2019-08-29 16:01:11.316 T:140099665766144   DEBUG: scraper: CreateSearchUrl returned <url>https://api.tmdb.org/3/search/movie?api_key=f090bb54758cabf231fb605d3e3e0468&amp;query=&amp;year=0&amp;language=en</url>
....
2019-08-29 16:01:11.365 T:140099665766144   ERROR: CCurlFile::Open failed with code 422 for https://api.tmdb.org/3/search/movie?api_...anguage=en:
                                            {"errors":["query must be provided"]}

More detailed logs are here:

gaxolujovo.kodi (paste)

Viewing all articles
Browse latest Browse all 707

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>