hello ,
Need assistance with the following error i get..
I am integrating CRM with Genesys Cloud , created Integration with (loginUrl,clientId and clientSecret) , then under Action here is my configuration.
{
"requestUrlTemplate": "{credentials.loginUrl}",
"requestType": "POST",
"headers": {
"Authorization": "bearer realm=\"123456\",oauth_consumer_key=\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",oauth_token=\"abcdccddddddddddddddddddd\",oauth_signature_method=\"HMAC-SHA1\",oauth_timestamp=\"1598025673\",oauth_nonce=\"S7v85tAdNDUyv\",oauth_version=\"1.0\",oauth_signature=\"VU%3834tdcACpN2XYGpTjbfdZFHkgd8k%3D\"",
"Content-Type": "application/json",
"Transfer-Encoding": "chunked",
"Catch-Control": "no-cache",
"requestTemplate": "grant_type=client_credentials"
},
"requestTemplate": "{input.rawRequest}"
}
but it fails at step 8 with following error:
**8. Execute: authentication bearer token specified in authorization header.
- REST call for action execute failed. Message:Request to backend service failed. Response from web service: {"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2","title":"Invalid login attempt.","status":401,"o:errorCode":"INVALID_LOGIN_ATTEMPT"} [ba96ea0e-64bd-4d0c-af2d-3a5ca010593d]
i run the same query in Postman and it works,not sure what i am missing here ?