Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Faced the same issue, resolved for me after adding content-type to headers
headers = {
"X-auth-access-token": "ecf8c94f-3a35-4bd7-9a4a-5e125b8d607e",
"Content-Type": "application/json"
}