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!
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da itsbrianyung
il 8 settembre, 2023 alle 12:06PM
Bump!
Risposta da ticao2 🇧🇷 pt-BR
il 8 settembre, 2023 alle 6:01PM
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.
Risposta da itsbrianyung
il 10 settembre, 2023 alle 2:23PM
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!