Skip to main content
Answer

Fail to connect REST API

  • November 19, 2025
  • 3 replies
  • 41 views

Forum|alt.badge.img+1

Good day,

We are traying to connect to commvault, using a script, but show this error:

<DM2ContentIndexing_CheckCredentialResp loginAttempts="0" remainingLockTime="0" isAccountLocked="0">

    <errList errLogMessage="Username/Password are incorrect" errorCode="1116" />

</DM2ContentIndexing_CheckCredentialResp>

If i try to connect directly to the command center, with the same user and password the connection is sucessfull.

Best answer by Dheeraj Shetty

Hi ​@Oscar Mahecha,

 

Can you verify that the username and password in your script are correct, and ensure the password is Base64 encoded. You can use https://www.base64encode.org/ to encode your password.
If you're using a domain account, confirm the domain is entered properly.
Check that you're calling the correct login endpoint (e.g., /Login).
If authentication still fails with AD credentials, test with a local account to rule out domain issues.
Try the same API request in Postman or CURL to see whether the problem is with your script.
If SSL certificate errors appear, you may need to temporarily bypass certificate validation in your script for testing.

 

Regards,

Dheeraj

3 replies

Forum|alt.badge.img+8

Hi ​@Oscar Mahecha,

 

Can you verify that the username and password in your script are correct, and ensure the password is Base64 encoded. You can use https://www.base64encode.org/ to encode your password.
If you're using a domain account, confirm the domain is entered properly.
Check that you're calling the correct login endpoint (e.g., /Login).
If authentication still fails with AD credentials, test with a local account to rule out domain issues.
Try the same API request in Postman or CURL to see whether the problem is with your script.
If SSL certificate errors appear, you may need to temporarily bypass certificate validation in your script for testing.

 

Regards,

Dheeraj


Forum|alt.badge.img+1

Thanks for the answer, i put the password in Base64 and the connection whas successfull


Forum|alt.badge.img+8

Hi ​@Oscar Mahecha,

Glad to know, connection is successful after using Base64 encoded password.

 

Regard,
Dheeraj