The Movie Database 지원

I got an API key and an access token but the API key isn't working.

When I go to the url from the example (https://api.themoviedb.org/3/movie/550?api_key=THE_KEY), it works completely fine but nothing else does. Even when I use the 'try this' section on the developer API reference it says "Invalid API key: You must be granted a valid key." What do I do to fix this?

7 댓글 (1 / 1)

Jump to last post

@tmking2002 said:
API Key not working
I got an API key and an access token but the API key isn't working.
When I go to the url from the example (https://api.themoviedb.org/3/movie/550?api_key=THE_KEY), it works completely fine
but nothing else does.
Even when I use the 'try this' section on the developer API reference it says
"Invalid API key: You must be granted a valid key."
What do I do to fix this?

I assume you are testing/using "Try it!" in the documentation.

The "Try it!" option in DOCs it only works with the "Access Token Auth" option.
It doesn't work if you select the "API Key Auth" option.
It is a birth defect since the migration to this service.
I don't know if it can be fixed. I'm not a programmer.
Your API Key validation test is done using your Token.
https://developer.themoviedb.org/reference/authentication-validate-key
If your Token works then your API Key must also work.
If you want to test your API Key directly, follow the instructions below.

Take a Test
Using a computer, desktop or notebook.
On some mobile devices this test may not work correctly.
In the URL below, change THE_KEY to your API Key.
https://api.themoviedb.org/3/movie/550?api_key=THE_KEY
Use this example to do a search using a new tab or window in your browser.
You will receive the basic data of the Movie Fight Club (1999)
https://www.themoviedb.org/movie/550-fight-club
If it works, your Key is OK.

When there is a problem, the TMDb Server sends a message.
Can you tell which message the server sent?
Here is a list of possible messages:
https://developer.themoviedb.org/docs/errors

If it does not work, let us know right here.

Hey im having an issue with myAPI key too , it says it isnt validated can you please grnat me a working API key ?

@arnavsawant.19 said:
Hey im having an issue with myAPI key too ,
it says it isnt validated
can you please grnat me a working API key ?

Please take the test below and let me know the result.

Take a Test
Using a computer, desktop or notebook.
On some mobile devices this test may not work correctly.
In the URL below, change THE_KEY to your API Key.
https://api.themoviedb.org/3/movie/550?api_key=THE_KEY
Use this example to do a search using a new tab or window in your browser.
You will receive the basic data of the Movie Fight Club (1999)
https://www.themoviedb.org/movie/550-fight-club
If it works, your Key is OK.

When there is a problem, the TMDb Server sends a message.
Can you tell which message the server sent?
Here is a list of possible messages:
https://developer.themoviedb.org/docs/errors

If it does not work, let us know right here.

it works in the breowser but it doesnt work when i try to validate it or use it in my project

@arnavsawant.19 said:
it works in the breowser

Well, your Key is valid.

but it doesnt work when i try to validate it or use it in my project

So there must be a problem with your project code.
Are you developing the code yourself?
Or are you using something from a third party?

im following a tutorial by someone to make something

@arnavsawant.19 said:
im following a tutorial by someone to make something

If possible, ask the tutorial author for help.
Or look for other people who have followed the tutorial.
Maybe a forum for this tutorial.
Sorry, I don't know how I can help you.

찾으시는 영화나 TV 프로그램이 없나요? 로그인 하셔서 직접 만들어주세요.

전체

s 검색 바 띄우기
p 프로필 메뉴 열기
esc 열린 창 닫기
? 키보드 단축키 창 열기

미디어 페이지

b 돌아가기
e 편집 페이지로 이동

TV 시즌 페이지

(우 화살표) 다음 시즌으로 가기
(좌 화살표) 이전 시즌으로 가기

TV 에피소드 페이지

(우 화살표) 다음 에피소드로 가기
(좌 화살표) 이전 에피소드로 가기

모든 이미지 페이지

a 이미지 추가 창 열기

모든 편집 페이지

t 번역 선택 열기
ctrl+ s 항목 저장

토론 페이지

n 새 토론 만들기
w 보기 상태
p 공개/비공개 전환
c 열기/닫기 전환
a 활동 열기
r 댓글에 글쓰기
l 마지막 댓글로 가기
ctrl+ enter 회원님의 메세지 제출
(우 화살표) 다음 페이지
(좌 화살표) 이전 페이지

설정

이 항목을 평가하거나 목록에 추가할까요?

로그인