Forum Discussion

gg433's avatar
gg433
New Contributor III
6 years ago
Solved

Getting list index out of range setting up OAuth2 account for LinkedIn API

Getting back this response error when trying to Authorize, initializing the account. Response is from https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/rest

{
“query_string”: “code=xxxxxx&state=xxx”,
“path”: “/api/1/rest/admin/oauth2callback/rest”,
“response_map”: {
“error_list”: [
{
“message”: “list index out of range”
}
]
},
“http_status”: “”,
“http_status_code”: 500
}

What does “list index out of range” refer to?

  • Hi @gg433, are you defining your own state endpoint parameter value? If so, you can remove it as our platform generates its own. If not, you may need to share the details of your REST Account configuration (hiding any sensitive data)

5 Replies