Podpora 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 replies (on page 1 of 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."}

Ne najdete filma ali serije? Prijavite se, da ga/jo ustvarite.

Povsod

s aktiviraj iskalno vrstico
p odpri meni profila
esc zapri odprto okno
? odpri okno za bližnjice

Na predstavnostnih straneh

b pojdi nazaj (ali na starša, kjer je smiselno)
e pojdi na urejanje strani

Na straneh sezon serij

(desna puščica) pojdi na naslednjo sezono
(leva puščica) pojdi na prejšnjo sezono

Na straneh epizod serij

(desna puščica) pojdi na naslednjo epizodo
(leva puščica) pojdi na prejšnjo epizodo

Na vseh slikovnih straneh

a odpri okno za dodajanje slike

Na vseh urejevalnih straneh

t odpri izbirnik prevodov
ctrl+ s pošlji obrazec

Na straneh za razpravo

n ustvari novo razpravo
w preklopi gledalski status
p preklopi javno/zasebno
c preklopi zaprto/odprto
a odpri aktivnost
r odgovori na razpravo
l pojdi na zadnji odgovor
ctrl+ enter objavi sporočilo
(desna puščica) naslednja stran
(leva puščica) prejšnja stran

Settings

Want to rate or add this item to a list?

Prijava