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" }
Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.
Want to rate or add this item to a list?
Not a member?
Reactie van Travis Bell
op 7 oktober 2013 om 10:28 AM
Hi jensitus,
Your first HTTP parameter must be called with a question mark, not an ampersand.
Cheers.
Reactie van jensitus
op 7 oktober 2013 om 11:40 AM
Jesus, you're right. I'm stupid. Thank you.