Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/31/2024 11:50 PM
Hi,
I am working on Salesforce Marketing Cloud integration
REST call is used to get the token - ConnectionJSON
SOAP call will be used for CreateAccountJSON.
In postman accesstoken is generating and able to create the account through SOAP call.
But in Saviynt it is not working, failing with
Token Expired
PFA for logs.
Note: If I use the token value directly in Saviynt then it is work fine
Can you please help with this! thanks in advance
Please let me know if you need any additional information.
Thanks
Sumalatha M
Solved! Go to Solution.
08/01/2024 12:46 AM
Hi @sumalatham , can you share your connection json?
08/01/2024 01:11 AM
08/01/2024 01:15 AM
08/01/2024 01:27 AM
After adding retryFailureStatusCode in connection json, still we are getting login failed error in logs like below.
Please can you help me on this?
Thanks
Sumalatha
08/01/2024 09:51 PM
Please share postman screenshot and curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
⚠️‼️‼️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.‼️‼️⚠️
08/04/2024 11:03 PM
Hello Team
This is working connection json:
{
"authentications": {
"userAuth": {
"authType": "oauth2",
"url": "https://xxxxx/v2/token",
"httpMethod": "POST",
"httpParams": {
"grant_type": "client_credentials",
"client_id": "xxxx",
"client_secret": "xxxx"
},
"httpHeaders": {
"contentType": "application/json"
},
"httpContentType": "application/json",
"expiryError": "ExpiredAuthenticationToken",
"authError": [
"InvalidAuthenticationToken",
"ExpiredAuthenticationToken"
],
"timeOutError": "Read timed out",
"errorPath": "error.code",
"maxRefreshTryCount": 5,
"retryFailureStatusCode": [
401,
500
],
"tokenResponsePath": "access_token",
"tokenType": "",
"accessToken": "xxx"
}
}
}