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.
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on December 29, 2013 at 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?
Reply by tmar89
on December 29, 2013 at 12:40 PM
Thanks, Travis. That was the problem. I was using an outdated library. I switched to WatTmdb and my applications works again.
Reply by Travis Bell
on December 29, 2013 at 2:55 PM
Great!