Soporte de The Movie Database

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 respuesta (en la página 1 de 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?

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión