sync/history returns Response 500 #349
Answered
by
tysonkerridge
rohitsathish
asked this question in
Q&A
-
Hi, I am trying to update my watch history by sending a POST request to https://api.trakt.tv/sync/history on python. Here's my code thats giving a Response 500 -
Am I doing something wrong or is this a server side issue? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
tysonkerridge
May 20, 2022
Replies: 1 comment 3 replies
-
Unsure if it's the cause of the 500 but it looks like you might be missing your authentication header: |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
rectifyer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unsure if it's the cause of the 500 but it looks like you might be missing your authentication header:
eg.
'Authorization': 'Bearer {access_token}'
And perhaps your
watched_at
date is incorrectly formatted:eg.
'watched_at': '2014-09-01T09:10:11.000Z'