I am having this error: The remote server returned an error: (500) Internal Server Error. Please help me and give me a reasonable explanation for this so that i may be reasonable for my client to answer.
My C# code to get the api data is as following:
void GrabMoviesOfGenre(string Genre)
{
var request = System.Net.WebRequest.Create("http://api.themoviedb.org/3/genre/" + Genre + "/movies?api_key=####&page=1") as System.Net.HttpWebRequest;
request.KeepAlive = true;
request.Method = "GET";
request.Accept = "application/json";
request.ContentLength = 0;
responseContent = null;
using (var response = request.GetResponse() as System.Net.HttpWebResponse)
{
using (var reader = new System.IO.StreamReader(response.GetResponseStream()))
{
responseContent = reader.ReadToEnd();
}
}
}
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 6 septembre 2014 à 10h52
This is already being discussed here: http://www.themoviedb.org/talk/540a5eacc3a36879ab00080c
Let's keep the discussion in one thread.