Error status code: 404 Error body: {"success":false,"status_code":34,"status_message":"The resource you requested could not be found."}
I can't fetch credits for a movie. get( '${AppConstants.apiBaseKey}movie/$movieId/credits?api_key=${AppConstants.apiKey}' );
Also tried fetching with a hardcoded id , or to fetch from a person endpoint still does not work. Even tho the TRY IT option on site works.
The apiBaseKey and apiKey are fine , because they fetch movies with no problems
Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.
Хотите поставить оценку или добавить в список?
Нет аккаунта?
Ответ от ticao2 🇧🇷 pt-BR
, 6 апреля 2024 в 10:38
It is not finding the ID you specified.
The problem must be in your $movieId parameter.
Check that the API Request sent by your code is correct.
It's normal to have problems because of some small error.
An extra character, a space, etc...
Ответ от Senadin
, 6 апреля 2024 в 13:09
Thanks for the reply! The problem was that i did not use headers , which was working for my movie id request somehow but for credits did not.