tegon / traktflix

Trakt.tv + Netflix = :heart:
https://tegon.github.io/traktflix
MIT License
403 stars 45 forks source link

Getting an Internal Error from Trakt API marks the episodes as "already synced" in local history #123

Open Znuff opened 4 years ago

Znuff commented 4 years ago

As per title, the Trakt API seems to have some issues:

{"message":"Internal server error. Please open a support issue and include your full API request and response, including all headers."}

This is not restricted to the extension, but to the API in general. Issuing the same request via cURL produces the same issue.

The problem I'm having is that the extension seems to mark the items as synced, locally! Thus on subsequent syncs (if I want to remedy this), I will have to clear local cache/options and end up with lots of duplicates.

rafaelgomesxyz commented 4 years ago

But it only marks them temporarily, right? If you refresh the page and the API is working again, then does it mark them correctly?

Znuff commented 4 years ago

Negative: https://i.imgur.com/IrAqtqA.png

The episode is not marked as watched on trakt.tv but the extension thinks it is

rafaelgomesxyz commented 4 years ago

That's weird, if it's showing the date and all, I don't know how it could be getting that info. Will look into it when I can.