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" }
Не вдалося знайти фільм або серіал? Увійдіть, щоб додати.
Хочете оцінити чи додати до списку?
Немає облікового запису?
Відповідь від Travis Bell
7 жовтня 2013, 10:28
Hi jensitus,
Your first HTTP parameter must be called with a question mark, not an ampersand.
Cheers.
Відповідь від jensitus
7 жовтня 2013, 11:40
Jesus, you're right. I'm stupid. Thank you.