This project has moved. For the latest updates, please go here.
2
Vote

Getting invalid xml document from GetMovieCast when retrival fails

description

The error i am getting is
Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 2, position 3.
The xml that the code is returning is indeed invalid as it has a newline inserted above the xml declaration
(Its stripping the xml first line when i post here so i had to use an image instead)
Image

the error occured when calling GetMovieCast
TmdbMovieCast castResult = api.GetMovieCast(mr.id);
The movie id was 38984 referencing this movie

Not sure if this has been reported already it is the 284th movie of 703 that i was looking up and the rest were all fine

comments

watway wrote Feb 19, 2013 at 12:03 PM

I tried the GetMovieCast for 38984 and didn't have a problem, although it was a bit slow. Is it possible that you hit the request limits? Have you encountered the problem again since? http://help.themoviedb.org/kb/general/api-request-limits

wrote Feb 20, 2013 at 12:31 PM