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!
فیلم و نمایش تلویزیونی را نمیتوانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.
آیا میخواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟
عضو نیستید؟
پاسخ توسط Travis Bell
در تاریخ مه 29, 2017 ساعت 4:55 ب.ض
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:
Cheers.