and more in a single search tool across platforms. Read the announcement here. |
02/05/2024 07:04 AM
Hello,
I'm getting this error message "Invalid Record not Processed" while importing accounts from ServiceNow via a rest connector. I do see the records in the logs but they're not getting imported.
I have set the accountid as the keyfield and the accountID is mapped to sys_id. I've also set the pagination to both this;
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.completeResponseMap.next_page==null?'':response.completeResponseMap.next_page}"
}
}
and this;
"pagination": {
"nextUrl": {
"nextUrlPath": "${headers?.Link?.split(',').size()==4?headers.Link.split(',')[2].replace('<', '').replace('>;rel="next"','').trim():(headers?.Link?.split(',')?.size()==3 && headers?.Link.contains('next'))?headers.Link.split(',')[1].replace('<', '').replace('>;rel="next"','').trim():null}"
}
}
}
and neither worked.
As a note, I have tested an api url for just one user and it worked.
Any idea why this is this happening?
02/05/2024 07:22 PM - edited 02/05/2024 07:26 PM
Try below json