Soporte de The Movie Database

Hi. When get this film with the API with extended reviews attribute there is no result with empty branch. That is movie.reviews = [] ID=782 (Gattaca)

5 respuestas (en la página 1 de 1)

Jump to last post

@gcsantiago said:

Hi. When get this film with the API with extended reviews attribute there is no result with empty branch. That is movie.reviews = [] ID=782 (Gattaca)

Because all mayor movies works as spected, I've originally post this on the film itself but I've been called to attention to publish it here.

Hi Gustavo,

There aren't any reviews to added to Gattaca, so that would be why it's not returning anything.

https://www.themoviedb.org/movie/782-gattaca/reviews

Reviews are not a super popular feature on TMDb, so many movies don't have one.

@travisbell said:

Hi Gustavo,

There aren't any reviews to added to Gattaca, so that would be why it's not returning anything.

https://www.themoviedb.org/movie/782-gattaca/reviews

Reviews are not a super popular feature on TMDb, so many movies don't have one.

Hello Travis,

Yes, I saw that, but I report it because in the mayority of the movies the API return reviews:{page:1,results:[],total...} but in this case don´t return anything (reviews = undefined), so I think it is a posible bug. This occurs that day. I've trying today and the result was ok. Thanks

Hi Gustavo,

I'm not sure if I follow. Here's the response from Gataca:

travisbell$ curl -v "https://api.themoviedb.org/3/movie/782/reviews?api_key=###"
*   Trying 54.243.67.237...
* TCP_NODELAY set
* Connected to api.themoviedb.org (54.243.67.237) 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/movie/782/reviews?api_key=### HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: ETag, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After
< Cache-Control: public, max-age=28800
< Content-Type: application/json;charset=utf-8
< Date: Mon, 27 Nov 2017 18:50:33 GMT
< ETag: "1cbd46fad73914c7d2a8962fb0d782eb"
< Server: openresty
< X-Memc: HIT
< X-Memc-Age: 26632
< X-Memc-Expires: 2168
< X-Memc-Key: 550ec630d9c7c878f1ac4785cf405295
< Content-Length: 66
< Connection: keep-alive
<
* Connection #0 to host api.themoviedb.org left intact
{
  "id": 782,
  "page": 1,
  "results": [],
  "total_pages": 0,
  "total_results": 0
}

That looks correct to me. What are you expecting it to return?

@travisbell said:

Hi Gustavo,

I'm not sure if I follow. Here's the response from Gataca:

travisbell$ curl -v "https://api.themoviedb.org/3/movie/782/reviews?api_key=###"
*   Trying 54.243.67.237...
* TCP_NODELAY set
* Connected to api.themoviedb.org (54.243.67.237) 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/movie/782/reviews?api_key=### HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: ETag, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After
< Cache-Control: public, max-age=28800
< Content-Type: application/json;charset=utf-8
< Date: Mon, 27 Nov 2017 18:50:33 GMT
< ETag: "1cbd46fad73914c7d2a8962fb0d782eb"
< Server: openresty
< X-Memc: HIT
< X-Memc-Age: 26632
< X-Memc-Expires: 2168
< X-Memc-Key: 550ec630d9c7c878f1ac4785cf405295
< Content-Length: 66
< Connection: keep-alive
<
* Connection #0 to host api.themoviedb.org left intact
{
  "id": 782,
  "page": 1,
  "results": [],
  "total_pages": 0,
  "total_results": 0
}

That looks correct to me. What are you expecting it to return?

Hi Travis,

Yes , today is perfect and correct as should be... for some reason when i report it the result was empty for that movie... dont worry if i experiment the same again will contact you with the logs !

Regards!

¿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 discusión

n crear nueva discusión
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder a la discusión
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