VMware Cloud Community
RKH_PBS
Contributor
Contributor

REST call error found inside VRASNVIDM.step5: Method failed: (/SAAS/t/test/API/1.0/oauth2/token) with code: 400

Hi All,

While trying to access vRa page from Servicenow we have below 2 errors in the logs:

REST call error found inside VRASNVIDM.step5: Method failed: (/SAAS/t/test/API/1.0/oauth2/token) with code: 400

REST call error found inside VRASNEntitlementUtilTest.preSetEntitlement: Method failed: (/catalog-service/api/consumer/services) with code: 401 - Invalid username/password combo

We have basic configuration set up correctly, Catalog item is imported into Servicenow without any issue, while request is approved there is no token generated and requested is not passed to vRa.

Manually when we try to access the page from browser errors are encountered.

We have SSO configured in instance, is it required that vRa should be setup with SSO? Request your support on this. Thanks in advance.

0 Kudos
2 Replies
draymond10
Enthusiast
Enthusiast

If you guys configured SSO with your ServiceNow instance, you need to configure your vRA idm with the same source...otherwise, your login will SSO into ServiceNow, but will present you with a vRA login (pending your account has the vra_user role configured).  The entitlements would be presented based on the login you provided vRA.

0 Kudos
CalsoftTechie
Enthusiast
Enthusiast

Hi RKH_PBS

First error you got under VRASNVIDM.step5.

This code generates access and refresh token. Since this step failed, you got error in next script-VRASNEntitlementUtilTest.preSetEntitlement

If you are using SSO, you need configuration at both sides ServiceNow as well as vRA.

Refer documentation for ITSM plugin to get more clarity.

Let me know for more details.

Regards,

Manish Patil

0 Kudos