Hello,
I’m a DE integrating Commvault API to be ingested in our DWH for a customer.
url = "http://<commserver url>/webconsole/api"
payload = json.dumps({
"password": "<password>",
"username": "<username>"
})
headers = {
'Accept': 'application/json',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
When I execute this code in order to receive the token, I’m getting
}#34;errorMessage":"Access denied","errorCode":5
How can it be fixed ?