cancel
Showing results for 
Search instead for 
Did you mean: 

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

gg433
New Contributor III

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?

1 ACCEPTED SOLUTION

robin
Former Employee

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)

View solution in original post

5 REPLIES 5

gg433
New Contributor III

Excellent! I removed the state parameter and it worked! Thank you so much for your help.