Sprijin Bază de date filme (The Movie Database)

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 răspunsuri (pe pagina 1 din 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!

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Globale

s focalizează bara de căutare
p deschide meniul profilului
esc închide o fereastră deschisă
? deschide fereastra cu scurtături de la tastatură

Pe paginile media

b mergi înapoi (sau la părinte atunci când este cazul)
e mergi la pagina de editare

Pe paginile sezoanelor filmelor seriale

(săgeată dreapta) mergi la sezonul următor
(săgeată stânga) mergi la sezonul precedent

Pe paginile episoadelor filmelor seriale

(săgeată dreapta) mergi la episodul următor
(săgeată stânga) mergi la episodul precedent

Pe toate paginile de imagini

a deschide fereastra pentru adăugarea de imagini

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimite formularul

Pe paginile de discuții

n crează o discuție nouă
w comută starea de vizionare
p comută publică/privată
c comută închisă/deschisă
a deschide activitatea
r răspunde la discuție
l mergi la ultimul răspuns
ctrl+ enter trimite mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina precedentă

Setări

Doriți să evaluați sau să adăugați acest articol într-o listă?

Autentificare