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?
Не можете да откриете филм или сериал? Влезте, за да го създадете.
Искате ли да го оцените или добавите към списък?
Нямате профил?
Отговор от Travis Bell
на 12 декември 2015 в 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.
Отговор от biketowork777
на 12 декември 2015 в 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.