תמיכת The Movie Database

Hi, I am using angularjs and was trying to do a simple api call:

https://api.themoviedb.org/3/movie/550?api_key={my_api_key}

To get the movie objects but it seems as though I keep getting:

{"status_code":7,"status_message":"Invalid API key: You must be granted a valid key."},"status":401,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback"}

I used the api that was provided does anyone seem to know why this is happening? Thanks!

תגובה 1 (בדף 1 מתוך 1)

Jump to last post

I can't help you with Angular but your API key is definitely working, so I would make sure to check that you entered it properly in your tests. I've truncated your key for proivacy reasons but these all work fine:

https://api.themoviedb.org/3/movie/550?api_key=e33ed2b****************
https://api.themoviedb.org/3/movie/popular?api_key=e33ed2b************

Cheers.

.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם

עולמי

s התמקד בשורת החיפוש
p פתח תפריט פרופיל
esc סגור חלון פתוח
? פתח חלון קיצורי דרך של מקלדת

בדפי מדיה

b לך חזרה (או אל הורה אם ישים)
e לך אל דף עריכה

בדפי עונות

(חץ ימני) לך אל העונה הבאה
(חץ שמאלי) לך אל העונה הקודמת

בדפי סדרות

(חץ ימני) לך אל הפרק הבא
(חץ שמאלי) לך אל הפרק הקודם

בכל דפי תמונה

a פתח חלון הוספת תמונה

בכל דפי עריכה

t פתח בוחר תרגום
ctrl+ s הגש טופס

בדפי דיון

n צור דיון חדש
w עורר מעמד צפייה
p עורר ציבורי/פרטי
c עורר סגירה/פתיחה
a פתח פעילות
r השב אל דיון
l לך אל תשובה אחרונה
ctrl+ enter הגש את הודעתך
(חץ ימני) הדף הבא
(חץ שמאלי) הדף הקודם

הגדרות

?רוצה לדרג או להוסיף פריט אל רשימה

היכנס