I think they made a change to the API. They removed the TvDbId value from the responses completely.
Yesterday it was working, and I didn’t change anything in the API. It stopped automatically, and my other third-party APIs are working. Only the Trakt.tv API is not working. Can you help me fix this issue? I also want to mention that if I had changed anything in the API, it wouldn’t work locally either — but it works fine on my local environment.
Thanks for the screenshots and explanations!
Looking at this, it seems like the issue is CORS (Cross-Origin Resource Sharing) related. Can you check that you are sending the correct headers in your request as specified in the documentation?
I also notice, in the code you shared, that you are using a too broad User-Agent (my-trakt-app) header in your request. Please try to be specific and use a header that lets us identify your application if needed.
I would also recommend you check that code again because it seems like that header is set to something else (Mozilla/5.0…AppleWebKit… Chrome… Safari).
Setting a proper User-Agent header is required for all API requests.




