I am getting this Error , while trying to fetch the API
{status_code: 7, status_message: "Invalid API key: You must be granted a valid key.", success: false}status_code: 7status_message: "Invalid API key: You must be granted a valid key."success: false[[Prototype]]: Object
Please Help
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την ticao2 🇧🇷 pt-BR
στις 25 Ιούλιος 2021 στις 01:41 ΜΜ
First run a test to see if your API Key has a problem.
Take a Test
Click to go to your Profile > API: https://www.themoviedb.org/settings/api
At the bottom of the page, below, you'll find the Example API Request.
https://api.themoviedb.org/3/movie/550?api_key=THE_KEY
Use this example to do a search using 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.
If it does not work, let us know right here.
Απάντηση από τον/την Sbonelobour
στις 9 Ιανουάριος 2023 στις 12:17 ΜΜ
Hi,
Last I checked, couple of months ago my API was working fine but now I am getting {"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false}
Please assist
Απάντηση από τον/την qki
στις 11 Ιανουάριος 2023 στις 01:58 ΜΜ
Hi, I had the same error today on my localhost and netlify versions of my app. In my case the problem was the browser (Brave browser) itself and its plugins. I've had to disable ghostery, ublock origin and built in Brave option to block adverst and other stuff. When the plugins are disabled fetching movies works like it should.
Απάντηση από τον/την Sbonelobour
στις 11 Ιανουάριος 2023 στις 03:33 ΜΜ
In my case I don't have any plugins. Even if I try to use the example API request on my browser or on Postman i get this Invalid API key error.
Απάντηση από τον/την ticao2 🇧🇷 pt-BR
στις 11 Ιανουάριος 2023 στις 06:21 ΜΜ
If you did the test with the Example Request and received this response, then I believe that your API Key is indeed in trouble.
It needs to be regenerated.
And in this case only Administrator Travis Bell can solve the problem.
Let's wait for him to come by.
I'm going to add the word Regenerate in the title of this conversation to get his attention.
Απάντηση από τον/την Sbonelobour
στις 12 Ιανουάριος 2023 στις 12:37 ΕΊΜΑΙ
Alright thank you. I will be waiting for Travis attention.
Απάντηση από τον/την Travis Bell
στις 19 Ιανουάριος 2023 στις 04:12 ΜΜ
Hi @Sbonelobour,
I'm not seeing any issues with your API key. I've truncated it here for privacy reasons but the full key is working:
Απάντηση από τον/την Sbonelobour
στις 19 Ιανουάριος 2023 στις 04:37 ΜΜ
Hi Travis,
I can see it working now. Not really sure what happened.
Thank you.
Kind Regards
Απάντηση από τον/την lisreyes
στις 15 Σεπτέμβριος 2023 στις 06:25 ΜΜ
Buen dia. Estoy presentando el mismo problema con mi apikey.
Απάντηση από τον/την robbie3999
στις 16 Σεπτέμβριος 2023 στις 12:44 ΜΜ
Hi @lisreyes, In order to get help, you need to provide the api URL you are calling and the error message that you get. Hide your private api key with a string like "API_KEY" or "xxxxxx".
Απάντηση από τον/την Suecalle
στις 21 Σεπτέμβριος 2023 στις 01:09 ΜΜ
Hi , im having trouble in the console is giving those error: "Fetch API cannot load", on settings i have an have API Key and API Read Access Token but dont have example Api request and the base URL https://api.themoviedb.org/3 doesn't work .
Απάντηση από τον/την lisreyes
στις 22 Σεπτέμβριος 2023 στις 12:45 ΜΜ
Hola, hago la prueba desde el sitio y lo que me lanza es "Sorry you couldn't be authenticated with those credentials"
Απάντηση από τον/την robbie3999
στις 22 Σεπτέμβριος 2023 στις 04:40 ΜΜ
See this discussion.