Error "404 page not found"

I try to request a OAuthtoken with OAuth Client Credentials Flow, but I get the Error “404 page not found”.
url = “
params = {“client_id-ID” : MyClientID,
“client_secret” : MyClientSecret,
“grant_type” : “client_credentials”}
CHAN_OAUTH = requests.put(url=url, headers=params)
I`m using Python 3.
Can anyone help me?

As documented, this request needs to be a POST request.

You 404’ed as you made a PUT request instead it seems

1 Like

Thanks I fixxed it :smiley:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.