@alexoro99 said: API Key Not Working
Hello having this issue again where the api key works for a short time but after extended time of not using it, it wont work anymore?
An API Key has no expiration date.
If your API Key has stopped working, perform the test below.
Take a Test
Using a computer, desktop or notebook.
On some mobile devices this test may not work correctly.
In the URL below, change THE_KEY to your API Key. https://api.themoviedb.org/3/movie/550?api_key=THE_KEY
Use this example to do a search using a new tab or window in your browser.
You will receive the basic data of the Movie Fight Club (1999) https://www.themoviedb.org/movie/550-fight-club
If it works, your Key is OK.
When there is a problem, the TMDb Server sends a message.
Can you tell which message the server sent?
Here is a list of possible messages: https://developer.themoviedb.org/docs/errors
I have the same problem.
I have registered on TMDB in 2021 and my keys used to work perfectly until now.
Today, my API key doesn't work, and I get a 403 error on every call.
I've regenerated the key, and also tried ticao2's test : I always get the same error (text below).
"403 ERROR
The request could not be satisfied.
Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation."
I have seen this issue for the past week or 2, the API has issues sometimes and a retry mechanism is required in whatever service you've written to ping the API. Otherwise there are periods where there will be a blip of an issue with specific shows, never really have issues on movies just TV shows.
As far as status code responses there are no responses when the Connection reset by Peer message returns it means the server terminated the connection so further diagnosis of if it's a rate limit issue or otherwise goes out of the window.
My issue isn't for the API key never working, more like sporadically the API resets my connection and causes me to retry the same request again through my request flow. If you look below you'll see requests that fail will retry after a short delay and succeed.
Processing TMDB Updates
Movie: Star Wars The Rise of Skywalker
Movie: Downsizing
Movie: The Creator
Movie: One Ranger
Movie: Teenage Mutant Ninja Turtles Mutant Mayhem
Movie: Leave the World Behind
Movie: 28 Weeks Later
Movie: The Pope's Exorcist
Movie: Shazam!
Movie: Blade Runner 2049
Movie: Migration
Movie: Badland Hunters
Movie: Chicken Run Dawn of the Nugget
Movie: Inside Out
Movie: Ratatouille
Movie: Dredd
Movie: The Marvels
Movie: Dungeons & Dragons Honor Among Thieves
Movie: When Evil Lurks
Movie: Star Wars Episode III - Revenge of the Sith
Movie: WALL·E
Movie: Merry Little Batman
Movie: Resident Evil Welcome to Raccoon City
Movie: Evil Dead Rise
Movie: Star Trek Into Darkness
Movie: Dawn of the Dead
Movie: The Whale
Movie: Star Wars The Last Jedi
Movie: Napoleon
Movie: Masterminds
Movie: Barbarian
Movie: Kung Fu Hustle
Movie: BURN·E
Movie: Rebel Moon - Part One A Child of Fire
Movie: Blue Ruin
Movie: The Night Eats the World
Movie: The Iron Giant
Movie: Watchmen: The Ultimate Cut
Movie: The Lobster
Movie: The Matrix
Movie: Dune Part Two
Movie: Legend
Movie: Puss in Boots The Last Wish
Movie: Madame Web
Movie: Beau Is Afraid
Movie: The Killer
Movie: Five Nights at Freddy's
Movie: Star Wars Episode II - Attack of the Clones
Movie: Prey
Movie: Dune
Movie: 28 Days Later
Movie: Dead Space Downfall
Movie: American Psycho
Movie: An American Pickle
Movie: Step Brothers
Movie: Bao
Movie: Star Wars Episode I - The Phantom Menace
Movie: Office Space
Movie: The Mist
Movie: Grandma's Boy
Movie: Sisu
Movie: Unthinkable
Movie: Star Trek
Movie: Insidious The Red Door
Movie: Killers Of The Flower Moon
Movie: Piper
Movie: Jurassic World Dominion
Movie: The Civil Dead
Movie: Star Trek Beyond
Movie: The Wrong Missy
Movie: Party Central
Movie: Lightyear
Movie: Free Guy
Movie: 65
Movie: #Alive
Movie: Finch
TV: Fired on Mars
Requesting URL: https://api.themoviedb.org/3/tv/126726/season/1/episode/1/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/126726/season/1/episode/2/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/126726/season/1/episode/3/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/126726/season/1/episode/4/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/126726/season/1/episode/5/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/126726/season/1/episode/6/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/126726/season/1/episode/7/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/126726/season/1/episode/8/images?api_key=#########
TV: Fear the Walking Dead
Skipping Season 0 for 'Fear the Walking Dead' as the directory does not exist.
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/1/episode/1/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/1/episode/2/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/1/episode/3/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/1/episode/4/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/1/episode/5/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/1/episode/6/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/1/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/2/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/3/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/4/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/5/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/6/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/7/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/8/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/9/images?api_key=#########
Error occurred while fetching episode thumbnail URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/9/images?api_key=#########
Error show_id: 62286
Error details: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/9/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/10/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/11/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/12/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/13/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/14/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/2/episode/15/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/1/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/2/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/3/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/4/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/5/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/6/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/7/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/8/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/9/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/10/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/11/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/12/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/13/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/14/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/15/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/3/episode/16/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/1/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/2/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/3/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/4/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/5/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/6/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/7/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/8/images?api_key=#########
Error occurred while fetching episode thumbnail URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/8/images?api_key=#########
Error show_id: 62286
Error details: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/8/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/9/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/10/images?api_key=#########
Error occurred while fetching episode thumbnail URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/10/images?api_key=#########
Error show_id: 62286
Error details: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/10/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/11/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/12/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/13/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/14/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/15/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/4/episode/16/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/1/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/2/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/3/images?api_key=#########
Error occurred while fetching episode thumbnail URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/3/images?api_key=#########
Error show_id: 62286
Error details: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/3/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/4/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/5/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/6/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/7/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/8/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/9/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/10/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/11/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/12/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/13/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/14/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/15/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/5/episode/16/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/1/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/2/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/3/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/4/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/5/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/6/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/7/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/8/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/9/images?api_key=#########
Error occurred while fetching episode thumbnail URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/9/images?api_key=#########
Error show_id: 62286
Error details: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/9/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/10/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/11/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/12/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/13/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/14/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/15/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/16/images?api_key=#########
Error occurred while fetching episode thumbnail URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/16/images?api_key=#########
Error show_id: 62286
Error details: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/6/episode/16/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/1/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/2/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/3/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/4/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/5/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/6/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/7/images?api_key=#########
Error occurred while fetching episode thumbnail URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/7/images?api_key=#########
Error show_id: 62286
Error details: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/7/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/8/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/9/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/10/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/11/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/12/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/13/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/14/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/15/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/7/episode/16/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/8/episode/1/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/8/episode/2/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/8/episode/3/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/8/episode/4/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/8/episode/5/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/8/episode/6/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/8/episode/7/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/8/episode/8/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/8/episode/9/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/8/episode/10/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/8/episode/11/images?api_key=#########
Requesting URL: https://api.themoviedb.org/3/tv/62286/season/8/episode/12/images?api_key=#########
I have the same problem.
I have registered on TMDB in 2021 and my keys used to work perfectly until now.
Today, my API key doesn't work, and I get a 403 error on every call.
I've regenerated the key, and also tried ticao2's test : I always get the same error (text below).
"403 ERROR
The request could not be satisfied.
Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation."
Thanks for your help.
Doesn't seem to be an issue with your key, if the key was not working you would get this response:
{
"status_code": 7,
"status_message": "Invalid API key: You must be granted a valid key.",
"success": false
}
Thank you Apezdr and Cumslut for your answers.
Cumslut, I think you're right : the API key is not the problem.
Here's what I've tried yesterday after sending my message here :
I wanted to check if the error was related to my account. I've tried to create a new account, and I still have the same error. So it's not related to my account.
I have tried a request using the second authentication way (Bearer Token) : same error
neither Postman nor my Vue JS application do work, same result every time
Reply by leonardosevero
on April 7, 2024 at 7:03 PM
Yes, I'm having the same issue!
Reply by Moooooooooovies
on April 8, 2024 at 5:16 AM
I also tried to reset my api key but it still doesn't work 😥
Reply by ticao2 🇧🇷 pt-BR
on April 9, 2024 at 5:11 PM
An API Key has no expiration date.
If your API Key has stopped working, perform the test below.
Take a Test
Using a computer, desktop or notebook.
On some mobile devices this test may not work correctly.
In the URL below, change THE_KEY to your API Key.
https://api.themoviedb.org/3/movie/550?api_key=THE_KEY
Use this example to do a search using a new tab or window in your browser.
You will receive the basic data of the Movie Fight Club (1999)
https://www.themoviedb.org/movie/550-fight-club
If it works, your Key is OK.
When there is a problem, the TMDb Server sends a message.
Can you tell which message the server sent?
Here is a list of possible messages:
https://developer.themoviedb.org/docs/errors
If it does not work, let us know right here.
Reply by HugoVirot
on April 11, 2024 at 10:12 AM
Hello.
I have the same problem. I have registered on TMDB in 2021 and my keys used to work perfectly until now. Today, my API key doesn't work, and I get a 403 error on every call.
I've regenerated the key, and also tried ticao2's test : I always get the same error (text below). "403 ERROR The request could not be satisfied. Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation."
Thanks for your help.
Reply by tmdb97381959
on April 11, 2024 at 2:39 PM
Same.
Reply by Apezdr
on April 11, 2024 at 3:57 PM
I have seen this issue for the past week or 2, the API has issues sometimes and a retry mechanism is required in whatever service you've written to ping the API. Otherwise there are periods where there will be a blip of an issue with specific shows, never really have issues on movies just TV shows.
As far as status code responses there are no responses when the
Connection reset by Peer
message returns it means the server terminated the connection so further diagnosis of if it's a rate limit issue or otherwise goes out of the window.My issue isn't for the API key never working, more like sporadically the API resets my connection and causes me to retry the same request again through my request flow. If you look below you'll see requests that fail will retry after a short delay and succeed.
Reply by CUMSLUT
on April 11, 2024 at 4:01 PM
Doesn't seem to be an issue with your key, if the key was not working you would get this response:
Reply by HugoVirot2024
on April 12, 2024 at 3:21 AM
Thank you Apezdr and Cumslut for your answers. Cumslut, I think you're right : the API key is not the problem.
Here's what I've tried yesterday after sending my message here :
If you have any solution, I'm all ears.
Reply by ticao2 🇧🇷 pt-BR
on April 12, 2024 at 5:15 PM
In some countries Cloudfront DNS is experiencing problems.
Try using Google DNS.