The Movie Database Support

When accessing the following https://api.themoviedb.org/3/tv/4608/season/1?api_key=XXXXXXXXXXXXXXXX&language=en-US&append_to_response=undefined I am getting an error.

"status_code": 7, "status_message": "Invalid API key: You must be granted a valid key."

It works fine on all other searches so far for movies as well as for the overall tv show. so the following works https://api.themoviedb.org/3/tv/4608?api_key=XXXXXXXXXXXXXXXX&language=en-US&append_to_response=undefined

Have I missed something with regards to seasons where a different token is required?

1 reply (on page 1 of 1)

Jump to last post

Hi @mateinone

That query seems to be working ok for me:

tbell$ curl -v 'https://api.themoviedb.org/3/tv/4608/season/1?api_key=###&language=en-US&append_to_response=undefined'
*   Trying 107.20.234.79...
* Connected to api.themoviedb.org (107.20.234.79) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: *.themoviedb.org
* Server certificate: RapidSSL SHA256 CA
* Server certificate: GeoTrust Global CA
> GET /3/tv/4608/season/1?api_key=###&language=en-US&append_to_response=undefined HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Cache-Control: public, max-age=28800
< Content-Type: application/json;charset=utf-8
< Date: Sat, 12 Nov 2016 21:31:46 GMT
< ETag: "22b85452a0be41d577ffff70ad7941e6"
< Server: openresty
< Status: 200 OK
< Vary: Accept-Encoding
< X-Memc: HIT
< X-Memc-Age: 66
< X-Memc-Expires: 28734
< X-Memc-Key: 0ee8e36ed396cb14208d55cfed11901e
< X-RateLimit-Limit: 40
< X-RateLimit-Remaining: 39
< X-RateLimit-Reset: 1478986316
< Content-Length: 50419
< Connection: keep-alive
<
{"_id":"525775c1760ee36aaa51937e","air_date":"2006-10-11","episodes"…

Are you sure your API key was entered properly?

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?

लॉगिन