In attempting to run the Example program , TheMovieDB.Example, it is returning the following serialization error when trying to do a movie search:
"Expecting element 'root' from namespace ''.. Encountered 'None' with name '', namespace ''. "
This is also happening from my own program calling the API method MovieSearch("shawshank"). Can someone help me figure out what is going on here?
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 12, 2015 at 8:54 PM
Hi biketowork777,
What language and/or library are you using? Some code samples would be helpful to know what exactly what you're looking at. I can't guarantee I can help but someone else who is familiar with whatever language you're using might be able to help.
Cheers.
Reply by biketowork777
on December 12, 2015 at 9:20 PM
Sure Travis - It's the C# windows app in the ..\TheMovieDb\trunk\TheMovieDb.Example codebase. Note: thinking it was perhaps a missing API key, I located the constructor MoviesViewModel.cs and passed in my api key.