The Movie Database Support

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."}

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

உள் நுழை