I am able to make it work. Thank you.
Original Message:
Sent: 03-22-2025 20:26
From: Rushyendar Akula
Subject: ROCS data utility processor
Can someone please review the issue and help? TIA
------------------------------
Rushy A
------------------------------
Original Message:
Sent: 03-20-2025 23:19
From: Rushyendar Akula
Subject: ROCS data utility processor
Used the following command to base64 encode the credentials:
echo -n "clientid:clientsecret" | base64
assiged the output to CLIENT_CREDENTIALS in the dev-ov.properties. But getting below error.
Please note that I am able to use the same clientId and secret from postman.
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
2025-03-20 23:15:20,991 INFO [main] service.AttributeExtractReportForPotentialMatches (AttributeExtractReportForPotentialMatches.java:56) - Extract Process Started..
2025-03-20 23:15:21,017 ERROR [main] util.Util (Util.java:229) - Invalid/Missing Property or Property value is empty.. Skipping this property : CLIENT_CREDENTIALS
2025-03-20 23:15:21,341 DEBUG [main] impl.SimpleRestAPIServiceImpl (SimpleRestAPIServiceImpl.java:166) - Final Url https://auth.reltio.com/oauth/token
2025-03-20 23:15:21,765 ERROR [main] impl.SimpleRestAPIServiceImpl (SimpleRestAPIServiceImpl.java:205) - REST Api call failed... Response URL: https://auth.reltio.com/oauth/token | Error Code: 400 | Error Response: Bad Request |||| Error Message body: {"error":"invalid_grant","error_description":"User account is locked"}
2025-03-20 23:15:21,767 ERROR [main] impl.TokenGeneratorServiceImpl (TokenGeneratorServiceImpl.java:267) - Auth Call Failed: Error Code = 400 |||| Error Message: {"error":"invalid_grant","error_description":"User account is locked"}
Exception in thread "main" com.reltio.cst.exception.handler.APICallFailureException
at com.reltio.cst.service.impl.SimpleRestAPIServiceImpl.doExecute(SimpleRestAPIServiceImpl.java:212)
at com.reltio.cst.service.impl.SimpleRestAPIServiceImpl.post(SimpleRestAPIServiceImpl.java:112)
at com.reltio.cst.service.impl.TokenGeneratorServiceImpl.doAuthAPICall(TokenGeneratorServiceImpl.java:265)
at com.reltio.cst.service.impl.TokenGeneratorServiceImpl.getAccessToken(TokenGeneratorServiceImpl.java:224)
at com.reltio.cst.service.impl.TokenGeneratorServiceImpl.getNewToken(TokenGeneratorServiceImpl.java:146)
at com.reltio.cst.service.impl.TokenGeneratorServiceImpl.<init>(TokenGeneratorServiceImpl.java:64)
at com.reltio.cst.util.Util.getReltioService(Util.java:112)
at com.reltio.extract.denormalized.service.AttributeExtractReportForPotentialMatches.main(AttributeExtractReportForPotentialMatches.java:88)
------------------------------
Rushy