and more in a single search tool across platforms. Read the announcement here. |
03/05/2023 01:14 AM
Hi Team,
I am facing issue in re-generating the access token in connection json. It is need to manually update the access token from postman.
I have tried with both the authtype BasicWithAccessToken as well as Oauth2. But I am facing the same issue in both the cases.
Please find the attached connection json and please suggest me what changes do I need to perform in it in order to resolve it
{
"authentications": {
"acctAuth": {
"authType": "BasicWithAccessToken",
"url": "https://<hostname>/services/oauth2/token",
"httpMethod": "POST",
"httpHeaders": "application/x-www-form-urlencoded",
"properties": {
"grant_type": "password",
"client_id": "****",
"client_secret": "******",
"userName": "******",
"password": "********"
},
"httpContentType": "application/x-www-form-urlencoded",
"expiryError": "ExpiredAuthenticationToken",
"retryFailureStatusCode": [403,401,500],
"authError": [
"InvalidAuthenticationToken",
"AuthenticationFailed",
"Authentication_MissingOrMalformed",
"Authentication_ExpiredToken",
"INVALID_SESSION_ID"
],
"timeOutError": "Read timed out",
"errorPath": "error",
"maxRefreshTryCount": 5,
"tokenResponsePath": "access_token",
"tokenType": "Bearer",
"accessToken": "Bearer 00D050000000MPb!AQYAQHbFKb24fJZkfq.2erqw5mjKQqnHbp8zzCVtqs6ONKm_BPO4tskGL5BxFnybouAI3ymaHtDZ4EXBCxZGSq2Ray9SwUbb"
}
}
}
03/05/2023 05:38 AM
Hi @Debankita,
Here are a few recommendations for you to troubleshoot the token generation.
{"showLogs":true}
Hope this helps !