I'm getting an error with the MovieDbHandler.SearchMovie method. I'm getting the error: "Couldn't connect to TheMovieDb.org to retrieve [Movie Name], you may use an invalid api key or the series doesn't exists". The API key is valid since I can use http://api.themoviedb.org/3/movie/550?api_key=[mykey] just fine. My C# code is:
List searchMovies = mDbH.SearchMovie(mf.MovieName, new MovieDbLanguage(0, "en", "English"));
The movie name could be anything. For simplicity, I chose "Red"
This used to work just fine months ago but when I revisited it today, it no longer works. I thought it was because my API key was invalid, but I don't know how else to debug it.
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från Travis Bell
den 29 december 2013 vid 11:31 AM
Hi tmar89,
I'm assuming you're using some kind of an API library here? Are you sure it's using our v3 API and not the old and shut down 2.1?
Svar från tmar89
den 29 december 2013 vid 12:40 PM
Thanks, Travis. That was the problem. I was using an outdated library. I switched to WatTmdb and my applications works again.
Svar från Travis Bell
den 29 december 2013 vid 2:55 PM
Great!