Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetMoviesAsunc issue #270

Closed
Afy65 opened this issue May 28, 2018 · 5 comments
Closed

GetMoviesAsunc issue #270

Afy65 opened this issue May 28, 2018 · 5 comments

Comments

@Afy65
Copy link

Afy65 commented May 28, 2018

Hi
I get the error below a fair bit form using the following:

 TMDbClient client = new TMDbClient("c6b31d1cdad6a56a23f0c913e2482a31");
            var config = await client.GetConfigAsync();
            //get the full movie details
            var movieData = await client.GetMovieAsync(movieID, TMDbLib.Objects.Movies.MovieMethods.ExternalIds | TMDbLib.Objects.Movies.MovieMethods.Videos | TMDbLib.Objects.Movies.MovieMethods.Credits);

Newtonsoft.Json.JsonReaderException: 'Unexpected character encountered while parsing value: <. Path '', line 0, position 0.'

Perhaps you could shed some light in this for me

Many Thanks

Daniel

@LordMike
Copy link
Collaborator

Sounds like a HTML response to me. Maybe TMDb had a failure on their end.

@Afy65
Copy link
Author

Afy65 commented May 28, 2018

Maybe they have some problems because it is doing all over the application that I am writing now? Even where that part of the app is finished and has worked great before.

@LordMike
Copy link
Collaborator

LordMike commented May 28, 2018 via email

@FrederikBolding
Copy link
Contributor

Could possibly be fixed with #194

@LordMike
Copy link
Collaborator

Fixed in #275 - we should longer try to process HTML responses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants