תמיכת The Movie Database

Eclipse Error: 05-09 00:56:20.397: D/URL(2878): http://api.themoviedb.org/3/tv/6175?api_key=### 05-09 00:56:20.641: D/JSON(2878): {"status_code":7,"status_message":"Invalid API key: You must be granted a valid key."}

In Chrome: {"backdrop_path":null,"created_by":[{"id":130319,"name":"Harvey Bullock","profile_path":null}],"episode_run_time":[30],"first_air_date":null,"genres":[{"id":35,"name":"Comedy"}],"homepage":"","id":6175,"in_production":true,"languages":["en"],"last_air_date":null,"name":"McKeever and the Colonel","networks":[{"id":6,"name":"NBC"}],"number_of_episodes":0,"number_of_seasons":0,"origin_country":["US"],"original_language":"en","original_name":"McKeever and the Colonel","overview":"McKeever and the Colonel is an American situation comedy that was broadcast on NBC television in the United States from 1962-1963. Its setting was a Westfield military academy. Dick Powell's Four Star Television produced the series.\n\nGary McKeever was the name of a student who was the lead of the series, whilst the Colonel in the title referred to the school commandant who was constantly at loggerheads with McKeever.\n\nJackie Coogan played Sgt. Barnes, a soldier at the school who was sympathetic to McKeever. The program also starred character actor John McGiver.\n\nThe guest stars included Walter Coy, formerly the host of the NBC anthology series Frontier.","popularity":2.02938267931654e-83,"poster_path":null,"production_companies":[],"seasons":[],"status":"Ended","type":"Scripted","vote_average":0.0,"vote_count":0}

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

Jump to last post

Hi nando86,

Using the API key for your account (I've truncated it here for privacy reasons) everything looks ok to me:

https://api.themoviedb.org/3/tv/6175?api_key=070cf*******

Make sure there aren't any trailing or prepended spaces.

Cheers.

I've tried a thousand different ways, from the app I can not display the json. Any solution that you can use to show?

Is the problem only in your app? The request works fine in your browser, which you can test and see.

You could try using Apiary to inspect the request you're sending and see how it differs between your browser and your code. They have a request inspection tool that makes this pretty easy.

I use first - https://api.themoviedb.org/3/tv/top_rated?api_key=070cf############&page=1 and Insert in the listview, when click in the tv show, search the description of tvshow and chapters.. when i send petition only show me this error in Android Device Monitor...

05-29 15:53:51.034: D/URL(2775): https://api.themoviedb.org/3/tv/39218?api_key=070cf################## 05-29 15:53:51.072: W/EGL_emulation(2775): eglSurfaceAttrib not implemented 05-29 15:53:51.072: W/OpenGLRenderer(2775): Failed to set EGL_SWAP_BEHAVIOR on surface 0xa5846d60, error=EGL_SUCCESS 05-29 15:53:51.525: W/DefaultRequestDirector(2775): Authentication error: Unable to respond to any of these challenges: {} 05-29 15:53:51.526: D/JSON(2775): {"status_code":7,"status_message":"Invalid API key: You must be granted a valid key."}

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

עולמי

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

בדפי מדיה

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

בדפי עונות

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

בדפי סדרות

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

בכל דפי תמונה

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

בכל דפי עריכה

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

בדפי דיון

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

הגדרות

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

היכנס