This message was posted by a user wishing to remain anonymous
Hello everyone,
I am facing issues while trying to execute ROCS data loader utility. Instead of username and password, I have given client_credentials, but while executing I am getting 401 error,. ERROR - Auth Call Failed: Error Code = 401 |||| Error Message: {"error":"unauthorized","error_description":"Failed to decode basic authentication token"}
Does anyone know how to pass client credentials correctly. What is the format, as it is getting encrypted after first execution.
is it I tried all possible combinations.
CLIENT_CREDENTIALS = Basic <encoded value>
or
CLIENT_CREDENTIALS= clientid:clientsecret
This was mentioned in the rocs utility data loader properties file:
#This property used for to get the access token using client_credentials grant type. The value for this property can be obtained by encoding the client name and secret separated by colon in Base64 format. (clientname:clientsecret)
CLIENT_CREDENTIALS =