Hi, I cannot seem to access the release date response for the API. I think it's an issue with my Key's authorization? Please let me know if that's the issue. Thanks!
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة ticao2 🇧🇷 pt-BR
بتاريخ يوليو 7, 2024 في 5:12 مساءا
First test your Key.
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.
رد بواسطة yangjiafan
بتاريخ يوليو 7, 2024 في 8:02 مساءا
The message I got after running "try it!" for the release date module in the API reference section, I got "404 Invalid id: The pre-requisite id is invalid or not found".
I was able to run the URL when changing THE_KEY to my key and got some data about the fight club. However, I didn't see the MPAA rating - R among those information. Perhaps there's an authorization issue with the pre-requisite id?
Thanks, Justin
رد بواسطة Travis Bell
بتاريخ يوليو 7, 2024 في 9:13 مساءا
You’re looking for the /release_dates method.
رد بواسطة yangjiafan
بتاريخ يوليو 7, 2024 في 10:08 مساءا
yes, but I can't access that method. it shows me 404 error.
Thanks, Travis
رد بواسطة yangjiafan
بتاريخ يوليو 7, 2024 في 10:12 مساءا
Oh, I see, I must enter a path params to work it out. Thanks!