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

dmiller
Admin Admin
Admin

Note that the LinkedIn Snap Pack is no longer supported as of February 2020: https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/896468553/February+2020+4.20+Release+Notes...


Diane Miller
Community Manager

gg433
New Contributor III

Thanks. I’m not using the LinkedIn snappack, just using the general Rest snaps.

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)

gg433
New Contributor III

yes, I was defining my own state value. I’ll try it without it. Thanks!