I am trying to connect to Salesforce from our Genesys instance in order to pull back customer accounts on an ANI match. This is working in Postman currently with an Authorization Code grant type, which will create a browser prompt for my service username and password to generate the token (clientID and secret already configured in the Postman request). When I try to implement this in Genesys, I built the WSDA with the loginUrl equal to the access_token_url in Postman, and clientId and clientSecret equal to what is working in Postman. I get the below error:
- REST call for action execute failed. Message: Request to backend service failed. Response from web service: {"error":"invalid_grant","error_description":"no client credentials user enabled"} [4cea3973-afd5-4d93-ae7d-c24caa980ef2]
Do I need to add any fields to account for the service account username and password? Or do I need to use something other than the WSDA (the Salesforce action requires a token, which I am trying to generate with this WSDA but not sure I am doing this correctly)? Do I need to change the headers or request body? Thank you for any help you can provide!
#Integrations------------------------------
Maureen Shaw
Helpware Inc
------------------------------