
consultant.dwaraka
Hi Team,
I am trying to connect to xmatters api using api key and secrete but not able to authenticate.
Error is:
{
"type": "UNAUTHORIZED_ACCESS_ERROR",
"message": "User could not be authenticated because the username or password is incorrect, the user does not exist in the targeted Company, or the Company does not exist."
}
However, I am able to connect using basic auth with user name and password.
Did anyone faced similar issue?
0
Comments
Please sign in to leave a comment.
Hi there! I see you also posted this to our Support team and I will look into this with you there. I will post the same questions I asked you then:
> Are you testing code or via a command line or tool like CURL or PostMan?
> How are you verifying the API key you are testing with? Which screen is it coming from?
> Which API endpoints have you tested with?
Many thanks for your response!
I am trying to invoke XMatters api to notify the roster users when there is any downtime in my custom application. As part of it, I am writing a python code where invoking the xmatter api.
Ex: