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 的回复
于 2015 年 12 月 12 日 8:54下午
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 的回复
于 2015 年 12 月 12 日 9:20下午
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.