OAuth token is missing even though the token was given

For the getting a token you need to POST as body, this looks like you are sending headers instead, and thus not getting a token out as it’s failing.

(My python is a tad rusty)