Recently my website's been having trouble retrieving images with the API - it keeps giving me the "Origin (site) is not allowed by Access-Control-Allow-Origin. Status code: 200" error. I've tried everything recommended on the forum but I still can't get it to work again.
If anyone has any suggestions I'm all ears. Thanks so much!
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de itsbrianyung
le 8 septembre 2023 Ă 12h06
Bump!
Réponse de ticao2 🇧🇷 pt-BR
le 8 septembre 2023 Ă 18h01
I'm just a curious old man.
I don't understand anything about code or programming.
But I think your problem is related to CORS.
So maybe this will help you
CORS Issues
See if this research can help.
https://www.themoviedb.org/talk/search?advanced_search=&query=CORS&with_category=&with_status%5B%5D=closed&with_status%5B%5D=open
In some of the topics the problem was solved.
https://www.themoviedb.org/talk/5f55e3dd713ed40037f090d4
https://www.themoviedb.org/talk/5833110992514162cf03b7bd
https://www.themoviedb.org/talk/5c5dff05925141338cbce2db
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSNotSupportingCredentials
And this
https://www.themoviedb.org/talk/5f621eae93388b003864513c
https://www.themoviedb.org/talk/5eb07271a13533001b72740a
If you are unable to resolve with this information, I suggest that you add CORS Issue in the title, or something like that.
This makes it easier to get help from Travis Bell, the administrator, who has the necessary knowledge and power to solve the problem.
Réponse de itsbrianyung
le 10 septembre 2023 Ă 14h23
Sadly none of those solutions worked for me, but I'm going to post again and hopefully get Travis' help with it. Thanks so much for looking into it for me!