Supporto 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 risposte (nella pagina 1 di 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!

Non riesci a trovare un film o una serie Tv? Accedi per crearlo.

Globale

s focalizza la barra di ricerca
p apri menu profilo
esc chiudi una finestra aperta
? apri finestra scorciatoia tastiera

Su tutte le pagine di media

b torna indietro (o al precedente quando applicabile)
e vai alla pagina di modifica

Nelle pagine delle stagioni TV

(freccia destra) vai alla stagione successiva
(freccia sinistra) vai alla stagione precedente

Nelle pagine degli episodi TV

(freccia destra) vai all'episodio successivo
(freccia sinistra) vai all'episodio precedente

Su tutte le pagine di immagini

a apri finestra aggiungi immagine

Su tutte le pagine di modifica

t apri selettore traduzione
ctrl+ s invia modulo

Sulle pagine di discussione

n crea nuova discussione
w segna come visto/non visto
p cambia publico/privato
c cambia chiuso/aperto
a apri attivita
r rispondi alla discussione
l vai all'ultima risposta
ctrl+ enter invia il tuo messaggio
(freccia destra) pagina successiva
(freccia sinistra) pagina precedente

Impostazioni

Vuoi valutare o aggiungere quest'elemento a una lista?

Accedi