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!