Hi there, I have an issue with my API Key. If I search a movie, e.g. http://api.themoviedb.org/3/search/movie?query=#{title}&api_key=#{API_KEY} everythings works fine. But if I try to fetch a movie by id http://api.themoviedb.org/3/movie/#{movie_id}&api_key=#{API_KEY} I get a 401 Unauthorized Error And in the Browser I get: { "status_code": 7, "status_message": "Invalid API key - You must be granted a valid key" }
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 7 octobre 2013 à 10h28
Hi jensitus,
Your first HTTP parameter must be called with a question mark, not an ampersand.
Cheers.
Réponse de jensitus
le 7 octobre 2013 à 11h40
Jesus, you're right. I'm stupid. Thank you.