The Movie Database Support

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 replies (on page 1 of 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!

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

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login