The Movie Database Support

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

where i can generate a new code ?

4 replies (on page 1 of 1)

Jump to last post

Hi there,

I looks like your API key is working ok for me:

tbell$ curl -v 'http://api.themoviedb.org/3/movie/550?api_key=53c0ae5######'
*   Trying 107.20.234.79...
* Connected to api.themoviedb.org (107.20.234.79) port 80 (#0)
> GET /3/movie/550?api_key=53c0ae5###### 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:43:57 GMT
< ETag: "b34063af8535f4ddf552639892c0702e"
< Server: openresty
< Status: 200 OK
< Vary: Accept-Encoding
< X-Memc: HIT
< X-Memc-Age: 18283
< X-Memc-Expires: 10517
< X-Memc-Key: a7a8be33582080c3e162cfcb93607b73
< X-RateLimit-Limit: 40
< X-RateLimit-Remaining: 39
< X-RateLimit-Reset: 1478987047
< Content-Length: 1338
< Connection: keep-alive
<
* Connection #0 to host api.themoviedb.org left intact
{"adult":false,"backdrop_path":"/8uO0gUM8aNqYLs1OsTBQiXu0fEv.jpg"…

Are you sure you entered it properly?

Yeah the issue seems to just be in the 'try this' area of the site When I copy the same url and put directly in the browser, it works fine, it is happening with any tv series I look at the seasons, but not when looking at the overall tv show... strange..

Ah, I see. It does indeed seem to be only a docs problem. I will let StopLight (our API docs provider) know about this and get it fixed up.

Good find! Thanks.

Hi @mateinone StopLight has fixed the docs issue with TV seasons, you should be good to go now!

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

Want to rate or add this item to a list?

Login