Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Import Account error: "Could not convert responseText to Map. Trying to conver to list"

AVijayan
New Contributor
New Contributor

Hi Team,

We are trying to onboard GitHub using GithubRest connector for importing of accounts.

Below is the Authentication method used and the JSONS:

Authentication method : Git Oauth App

Connection JSON and Import Json Attached. 

The entitlements included in entitlementParams are getting imported but the account import is throwing an error error :"Could not convert responseText to Map. Trying to conver to list"

Error logs are attached for reference.

1 REPLY 1

rushikeshvartak
All-Star
All-Star

Use below json

tAuth": {
"authType": "oauth2",
"url": "https://XXXXX/login/oauth/access_token",
"httpMethod": "POST",
"httpParams": "",
"httpHeaders": {
"Content-Type": "application/x-www-form-urlencoded"
},
"httpContentType": "application/x-www-form-urlencoded",
"authError": [
"InvalidAuthenticationToken",
"AuthenticationFailed",
"Must authenticate to access this API."
],
"retryFailureStatusCode": [
401,
403
],
"errorPath": "error.message",
"maxRefreshTryCount": 5,
"tokenResponsePath": "access_token",
"tokenType": "Bearer",
"authHeaderName": "Authorization",
"accessToken": "Bearer XXXXXX",

"token":"XXXX"

}
}
}


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.