The Movie Database Support

2 replies (on page 1 of 1)

Jump to last post

I'm not seeing any issues:

Request

curl -v "https://api.themoviedb.org/3/movie/550/recommendations?api_key=###"

*   Trying 18.65.229.37:443...
* Connected to api.themoviedb.org (18.65.229.37) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=*.themoviedb.org
*  start date: Oct 21 00:00:00 2021 GMT
*  expire date: Nov 18 23:59:59 2022 GMT
*  subjectAltName: host "api.themoviedb.org" matched cert's "*.themoviedb.org"
*  issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* h2h3 [:method: GET]
* h2h3 [:path: /3/movie/550/recommendations?api_key=###]
* h2h3 [:scheme: https]
* h2h3 [:authority: api.themoviedb.org]
* h2h3 [user-agent: curl/7.85.0]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x7fa20600e000)
> GET /3/movie/550/recommendations?api_key=### HTTP/2
> Host: api.themoviedb.org
> user-agent: curl/7.85.0
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 200
< content-type: application/json;charset=utf-8
< content-length: 14306
< date: Mon, 19 Sep 2022 21:48:31 GMT
< server: openresty
< access-control-allow-origin: *
< access-control-allow-methods: GET, HEAD, POST, PUT, DELETE, OPTIONS
< access-control-expose-headers: ETag, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After, Content-Length, Content-Range
< cache-control: public, max-age=28800
< x-memc: HIT
< x-memc-key: 6dda7e81b00d2cc55c19e57ad1a974d78a888a3b
< x-memc-age: 4966
< x-memc-expires: 9607
< etag: W/"88f9d11b835389b3eac81afc12eeb109"
< vary: Accept-Encoding,Accept-Encoding,Accept-Encoding
< x-cache: Miss from cloudfront
< via: 1.1 d01e7742f82df0bbc1fb681d709ed69c.cloudfront.net (CloudFront)
< x-amz-cf-pop: SEA73-P1
< alt-svc: h3=":443"; ma=86400
< x-amz-cf-id: qM0BCLD2HXtyyA32aIycEfqMIEyrYkqv6aqT5QYZc1w4e4wv-mKewA==
<
* Connection #0 to host api.themoviedb.org left intact

Response

{
  "page": 1,
  "results": [
    {
      "adult": false,
      "backdrop_path": "/suaEOtk1N1sgg2MTM7oZd2cfVp3.jpg",
      "id": 680,
      "title": "Pulp Fiction",
      "original_language": "en",
      "original_title": "Pulp Fiction",
      "overview": "A burger-loving hit man, his philosophical partner, a drug-addled gangster's moll and a washed-up boxer converge in this sprawling, comedic crime caper. Their adventures unfurl in three stories that ingeniously trip back and forth in time.",
      "poster_path": "/fIE3lAGcZDV1G6XM5KmuWnNsPp1.jpg",
      "media_type": "movie",
      "genre_ids": [
        53,
        80
      ],
      "popularity": 80.198,
      "release_date": "1994-09-10",
      "video": false,
      "vote_average": 8.489,
      "vote_count": 23774
    },
    {
      "adult": false,
      "backdrop_path": "/hkKTtlHjiVUW5XRfkQfl3FmJUfX.jpg",
      "id": 807,
      "title": "Se7en",
      "original_language": "en",
      "original_title": "Se7en",
      "overview": "Two homicide detectives are on a desperate hunt for a serial killer whose crimes are based on the \"seven deadly sins\" in this dark and haunting film that takes viewers from the tortured remains of one victim to the next. The seasoned Det. Sommerset researches each sin in an effort to get inside the killer's mind, while his novice partner, Mills, scoffs at his efforts to unravel the case.",
      "poster_path": "/69Sns8WoET6CfaYlIkHbla4l7nC.jpg",
      "media_type": "movie",
      "genre_ids": [
        80,
        9648,
        53
      ],
      "popularity": 65.901,
      "release_date": "1995-09-22",
      "video": false,
      "vote_average": 8.355,
      "vote_count": 17623
    },
    {
      "adult": false,
      "backdrop_path": "/l6hQWH9eDksNJNiXWYRkWqikOdu.jpg",
      "id": 497,
      "title": "The Green Mile",
      "original_language": "en",
      "original_title": "The Green Mile",
      "overview": "A supernatural tale set on death row in a Southern prison, where gentle giant John Coffey possesses the mysterious power to heal people's ailments. When the cell block's head guard, Paul Edgecomb, recognizes Coffey's miraculous gift, he tries desperately to help stave off the condemned man's execution.",
      "poster_path": "/velWPhVMQeQKcxggNEU8YmIo52R.jpg",
      "media_type": "movie",
      "genre_ids": [
        14,
        18,
        80
      ],
      "popularity": 86.553,
      "release_date": "1999-12-10",
      "video": false,
      "vote_average": 8.511,
      "vote_count": 14397
    },
    {
      "adult": false,
      "backdrop_path": "/s3TBrRGB1iav7gFOCNx3H31MoES.jpg",
      "id": 27205,
      "title": "Inception",
      "original_language": "en",
      "original_title": "Inception",
      "overview": "Cobb, a skilled thief who commits corporate espionage by infiltrating the subconscious of his targets is offered a chance to regain his old life as payment for a task considered to be impossible: \"inception\", the implantation of another person's idea into a target's subconscious.",
      "poster_path": "/8IB2e4r4oVhHnANbnm7O3Tj6tF8.jpg",
      "media_type": "movie",
      "genre_ids": [
        28,
        878,
        12
      ],
      "popularity": 142.686,
      "release_date": "2010-07-15",
      "video": false,
      "vote_average": 8.358,
      "vote_count": 32274
    },
    {
      "adult": false,
      "backdrop_path": "/nMKdUUepR0i5zn0y1T4CsSB5chy.jpg",
      "id": 155,
      "title": "The Dark Knight",
      "original_language": "en",
      "original_title": "The Dark Knight",
      "overview": "Batman raises the stakes in his war on crime. With the help of Lt. Jim Gordon and District Attorney Harvey Dent, Batman sets out to dismantle the remaining criminal organizations that plague the streets. The partnership proves to be effective, but they soon find themselves prey to a reign of chaos unleashed by a rising criminal mastermind known to the terrified citizens of Gotham as the Joker.",
      "poster_path": "/qJ2tW6WMUDux911r6m7haRef0WH.jpg",
      "media_type": "movie",
      "genre_ids": [
        18,
        28,
        80,
        53
      ],
      "popularity": 95.901,
      "release_date": "2008-07-14",
      "video": false,
      "vote_average": 8.502,
      "vote_count": 28258
    },
    {
      "adult": false,
      "backdrop_path": "/oJmBWLUCKbgra8D9ZrLE1nBic5v.jpg",
      "id": 13,
      "title": "Forrest Gump",
      "original_language": "en",
      "original_title": "Forrest Gump",
      "overview": "A man with a low IQ has accomplished great things in his life and been present during significant historic events—in each case, far exceeding what anyone imagined he could do. But despite all he has achieved, his one true love eludes him.",
      "poster_path": "/saHP97rTPS5eLmrLQEcANmKrsFl.jpg",
      "media_type": "movie",
      "genre_ids": [
        35,
        18,
        10749
      ],
      "popularity": 65.586,
      "release_date": "1994-06-23",
      "video": false,
      "vote_average": 8.48,
      "vote_count": 23313
    },
    {
      "adult": false,
      "backdrop_path": "/l4QHerTSbMI7qgvasqxP36pqjN6.jpg",
      "id": 603,
      "title": "The Matrix",
      "original_language": "en",
      "original_title": "The Matrix",
      "overview": "Set in the 22nd century, The Matrix tells the story of a computer hacker who joins a group of underground insurgents fighting the vast and powerful computers who now rule the earth.",
      "poster_path": "/f89U3ADr1oiB1s9GkdPOEpXUk5H.jpg",
      "media_type": "movie",
      "genre_ids": [
        28,
        878
      ],
      "popularity": 77.371,
      "release_date": "1999-03-30",
      "video": false,
      "vote_average": 8.19,
      "vote_count": 22083
    },
    {
      "adult": false,
      "backdrop_path": "/43508X0evUDHMoyMSecsLxcy7RK.jpg",
      "id": 16869,
      "title": "Inglourious Basterds",
      "original_language": "en",
      "original_title": "Inglourious Basterds",
      "overview": "In Nazi-occupied France during World War II, a group of Jewish-American soldiers known as \"The Basterds\" are chosen specifically to spread fear throughout the Third Reich by scalping and brutally killing Nazis. The Basterds, lead by Lt. Aldo Raine soon cross paths with a French-Jewish teenage girl who runs a movie theater in Paris which is targeted by the soldiers.",
      "poster_path": "/7sfbEnaARXDDhKm0CZ7D7uc2sbo.jpg",
      "media_type": "movie",
      "genre_ids": [
        18,
        28,
        53,
        10752
      ],
      "popularity": 96.707,
      "release_date": "2009-08-19",
      "video": false,
      "vote_average": 8.21,
      "vote_count": 19194
    },
    {
      "adult": false,
      "backdrop_path": "/6MCVqErhPC0p6RkzZsLuIb6LZ1L.jpg",
      "id": 68718,
      "title": "Django Unchained",
      "original_language": "en",
      "original_title": "Django Unchained",
      "overview": "With the help of a German bounty hunter, a freed slave sets out to rescue his wife from a brutal Mississippi plantation owner.",
      "poster_path": "/7oWY8VDWW7thTzWh3OKYRkWUlD5.jpg",
      "media_type": "movie",
      "genre_ids": [
        18,
        37
      ],
      "popularity": 76.219,
      "release_date": "2012-12-25",
      "video": false,
      "vote_average": 8.152,
      "vote_count": 23019
    },
    {
      "adult": false,
      "backdrop_path": "/kXfqcdQKsToO0OUXHcrrNCHDBzO.jpg",
      "id": 278,
      "title": "The Shawshank Redemption",
      "original_language": "en",
      "original_title": "The Shawshank Redemption",
      "overview": "Framed in the 1940s for the double murder of his wife and her lover, upstanding banker Andy Dufresne begins a new life at the Shawshank prison, where he puts his accounting skills to work for an amoral warden. During his long stretch in prison, Dufresne comes to be admired by the other inmates -- including an older prisoner named Red -- for his integrity and unquenchable sense of hope.",
      "poster_path": "/q6y0Go1tsGEsmtFryDOJo3dEmqu.jpg",
      "media_type": "movie",
      "genre_ids": [
        18,
        80
      ],
      "popularity": 80.321,
      "release_date": "1994-09-23",
      "video": false,
      "vote_average": 8.702,
      "vote_count": 22302
    },
    {
      "adult": false,
      "backdrop_path": "/2nqsOT2AqPkTW81bWaLRtjgjqVM.jpg",
      "id": 11324,
      "title": "Shutter Island",
      "original_language": "en",
      "original_title": "Shutter Island",
      "overview": "World War II soldier-turned-U.S. Marshal Teddy Daniels investigates the disappearance of a patient from a hospital for the criminally insane, but his efforts are compromised by troubling visions and a mysterious doctor.",
      "poster_path": "/kve20tXwUZpu4GUX8l6X7Z4jmL6.jpg",
      "media_type": "movie",
      "genre_ids": [
        18,
        53,
        9648
      ],
      "popularity": 75.52,
      "release_date": "2010-02-14",
      "video": false,
      "vote_average": 8.19,
      "vote_count": 20448
    },
    {
      "adult": false,
      "backdrop_path": "/q2CtXYjp9IlnfBcPktNkBPsuAEO.jpg",
      "id": 77,
      "title": "Memento",
      "original_language": "en",
      "original_title": "Memento",
      "overview": "Leonard Shelby is tracking down the man who raped and murdered his wife. The difficulty of locating his wife's killer, however, is compounded by the fact that he suffers from a rare, untreatable form of short-term memory loss. Although he can recall details of life before his accident, Leonard cannot remember what happened fifteen minutes ago, where he's going, or why.",
      "poster_path": "/yuNs09hvpHVU1cBTCAk9zxsL2oW.jpg",
      "media_type": "movie",
      "genre_ids": [
        9648,
        53
      ],
      "popularity": 32.693,
      "release_date": "2000-10-11",
      "video": false,
      "vote_average": 8.194,
      "vote_count": 12598
    },
    {
      "adult": false,
      "backdrop_path": "/tmU7GeKVybMWFButWEGl2M4GeiP.jpg",
      "id": 238,
      "title": "The Godfather",
      "original_language": "en",
      "original_title": "The Godfather",
      "overview": "Spanning the years 1945 to 1955, a chronicle of the fictional Italian-American Corleone crime family. When organized crime family patriarch, Vito Corleone barely survives an attempt on his life, his youngest son, Michael steps in to take care of the would-be killers, launching a campaign of bloody revenge.",
      "poster_path": "/3bhkrj58Vtu7enYsRolD1fZdja1.jpg",
      "media_type": "movie",
      "genre_ids": [
        18,
        80
      ],
      "popularity": 99.56,
      "release_date": "1972-03-14",
      "video": false,
      "vote_average": 8.714,
      "vote_count": 16585
    },
    {
      "adult": false,
      "backdrop_path": "/jRJrQ72VLyEnVsvwfep8Xjlvu8c.jpg",
      "id": 101,
      "title": "Léon: The Professional",
      "original_language": "en",
      "original_title": "Léon: The Professional",
      "overview": "Léon, the top hit man in New York, has earned a rep as an effective \"cleaner\". But when his next-door neighbors are wiped out by a loose-cannon DEA agent, he becomes the unwilling custodian of 12-year-old Mathilda. Before long, Mathilda's thoughts turn to revenge, and she considers following in Léon's footsteps.",
      "poster_path": "/yI6X2cCM5YPJtxMhUd3dPGqDAhw.jpg",
      "media_type": "movie",
      "genre_ids": [
        80,
        18,
        28
      ],
      "popularity": 56.188,
      "release_date": "1994-09-14",
      "video": false,
      "vote_average": 8.321,
      "vote_count": 12455
    },
    {
      "adult": false,
      "backdrop_path": "/tqj7NKj11keFuLzPsBDMUq2dOUO.jpg",
      "id": 120,
      "title": "The Lord of the Rings: The Fellowship of the Ring",
      "original_language": "en",
      "original_title": "The Lord of the Rings: The Fellowship of the Ring",
      "overview": "Young hobbit Frodo Baggins, after inheriting a mysterious ring from his uncle Bilbo, must leave his home in order to keep it from falling into the hands of its evil creator. Along the way, a fellowship is formed to protect the ringbearer and make sure that the ring arrives at its final destination: Mt. Doom, the only place where it can be destroyed.",
      "poster_path": "/6oom5QYQ2yQTMJIbnvbkBL9cHo6.jpg",
      "media_type": "movie",
      "genre_ids": [
        12,
        14,
        28
      ],
      "popularity": 310.323,
      "release_date": "2001-12-18",
      "video": false,
      "vote_average": 8.386,
      "vote_count": 21504
    },
    {
      "adult": false,
      "backdrop_path": "/kWYfW2Re0rUDE6IHhy4CRuKWeFr.jpg",
      "id": 121,
      "title": "The Lord of the Rings: The Two Towers",
      "original_language": "en",
      "original_title": "The Lord of the Rings: The Two Towers",
      "overview": "Frodo and Sam are trekking to Mordor to destroy the One Ring of Power while Gimli, Legolas and Aragorn search for the orc-captured Merry and Pippin. All along, nefarious wizard Saruman awaits the Fellowship members at the Orthanc Tower in Isengard.",
      "poster_path": "/5VTN0pR8gcqV3EPUHHfMGnJYN9L.jpg",
      "media_type": "movie",
      "genre_ids": [
        12,
        14,
        28
      ],
      "popularity": 287.644,
      "release_date": "2002-12-18",
      "video": false,
      "vote_average": 8.368,
      "vote_count": 18658
    },
    {
      "adult": false,
      "backdrop_path": "/lXhgCODAbBXL5buk9yEmTpOoOgR.jpg",
      "id": 122,
      "title": "The Lord of the Rings: The Return of the King",
      "original_language": "en",
      "original_title": "The Lord of the Rings: The Return of the King",
      "overview": "Aragorn is revealed as the heir to the ancient kings as he, Gandalf and the other members of the broken fellowship struggle to save Gondor from Sauron's forces. Meanwhile, Frodo and Sam take the ring closer to the heart of Mordor, the dark lord's realm.",
      "poster_path": "/rCzpDGLbOoPwLjy3OAm5NUPOTrC.jpg",
      "media_type": "movie",
      "genre_ids": [
        12,
        14,
        28
      ],
      "popularity": 267.669,
      "release_date": "2003-12-01",
      "video": false,
      "vote_average": 8.481,
      "vote_count": 20179
    },
    {
      "adult": false,
      "backdrop_path": "/9LSsSPbP715XT9B7acIZzantPyX.jpg",
      "id": 73,
      "title": "American History X",
      "original_language": "en",
      "original_title": "American History X",
      "overview": "Derek Vineyard is paroled after serving 3 years in prison for killing two African-American men. Through his brother, Danny Vineyard's narration, we learn that before going to prison, Derek was a skinhead and the leader of a violent white supremacist gang that committed acts of racial crime throughout L.A. and his actions greatly influenced Danny. Reformed and fresh out of prison, Derek severs contact with the gang and becomes determined to keep Danny from going down the same violent path as he did.",
      "poster_path": "/c2gsmSQ2Cqv8zosqKOCwRS0GFBS.jpg",
      "media_type": "movie",
      "genre_ids": [
        18
      ],
      "popularity": 34.466,
      "release_date": "1998-07-01",
      "video": false,
      "vote_average": 8.367,
      "vote_count": 9833
    },
    {
      "adult": false,
      "backdrop_path": "/jqFjgNnxpXIXWuPsyfqmcLXRo9p.jpg",
      "id": 500,
      "title": "Reservoir Dogs",
      "original_language": "en",
      "original_title": "Reservoir Dogs",
      "overview": "A botched robbery indicates a police informant, and the pressure mounts in the aftermath at a warehouse. Crime begets violence as the survivors -- veteran Mr. White, newcomer Mr. Orange, psychopathic parolee Mr. Blonde, bickering weasel Mr. Pink and Nice Guy Eddie -- unravel.",
      "poster_path": "/lsBnfheKZBO3UKU7lVHIeGZLWuF.jpg",
      "media_type": "movie",
      "genre_ids": [
        80,
        53
      ],
      "popularity": 28.975,
      "release_date": "1992-09-02",
      "video": false,
      "vote_average": 8.147,
      "vote_count": 12208
    },
    {
      "adult": false,
      "backdrop_path": "/aYcnDyLMnpKce1FOYUpZrXtgUye.jpg",
      "id": 274,
      "title": "The Silence of the Lambs",
      "original_language": "en",
      "original_title": "The Silence of the Lambs",
      "overview": "Clarice Starling is a top student at the FBI's training academy. Jack Crawford wants Clarice to interview Dr. Hannibal Lecter, a brilliant psychiatrist who is also a violent psychopath, serving life behind bars for various acts of murder and cannibalism. Crawford believes that Lecter may have insight into a case and that Starling, as an attractive young woman, may be just the bait to draw him out.",
      "poster_path": "/rplLJ2hPcOQmkFhTqUte0MkEaO2.jpg",
      "media_type": "movie",
      "genre_ids": [
        80,
        18,
        53
      ],
      "popularity": 15.123,
      "release_date": "1991-02-14",
      "video": false,
      "vote_average": 8.342,
      "vote_count": 13685
    },
    {
      "adult": false,
      "backdrop_path": "/lVy5Zqcty2NfemqKYbVJfdg44rK.jpg",
      "id": 24,
      "title": "Kill Bill: Vol. 1",
      "original_language": "en",
      "original_title": "Kill Bill: Vol. 1",
      "overview": "An assassin is shot by her ruthless employer, Bill, and other members of their assassination circle – but she lives to plot her vengeance.",
      "poster_path": "/v7TaX8kXMXs5yFFGR41guUDNcnB.jpg",
      "media_type": "movie",
      "genre_ids": [
        28,
        80
      ],
      "popularity": 44.327,
      "release_date": "2003-10-10",
      "video": false,
      "vote_average": 7.969,
      "vote_count": 14986
    }
  ],
  "total_pages": 2,
  "total_results": 40
}

@Aditya77x said:
getting error 34
im making a req to
https://api.themoviedb.org/3/movie/%7Bmovie_id%7D/recommendations?api_key=xxxxxxxxxxxxxxxxxxxxxxx
its giving me error34

See the list of TMDb server error warnings here.
https://www.themoviedb.org/documentation/api/status-codes
In your case:

Code    HTTP    Message  
34      401     The resource you requested could not be found.  

It must probably be a small error in your code %7Bmovie_id%7D or {movie_id}.
Maybe it has some inappropriate character.
Quotation marks " ", square brackets { }, period ., dash -, etc...
https://api.themoviedb.org/3/movie/{550}/recommendations?api_key=THE_KEY

In this example, if I just put in my API Key, the response is:

success false
status_code 34
status_message  "The resource you requested could not be found."

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

Want to rate or add this item to a list?

Login