Pagination in Web Service connector IDN

Hello Everyone,
We have integrated one application with Web Service Connector.
API URL : https://XXX/scim/v1/Users/?count=100&startIndex=1 when we are using in Postman it is fetching accounts.

The same configuration when we are putting in Paging tab in IDN

$offset$= 1
$count$ = 100
TERMINATE_IF $RECORDS_COUNT$ < $count$
$offset$ = $offset$ + $count$
$endpoint.fullUrl$ = $application.baseUrl$ + "/Users?startIndex=" + $offset$ + "count=" + $count$

The configuration is not working. We are getting 504 timeout error. We have increased the aggregation time still it is getting failed at 90 sec.
Also, While hardcoding the count and startIndex in URL we are getting the required result.

Let me know if anyone else faced this issue.

Thanks

Can you try enabling the connector log to get more details about the new URL that is being created and invoked during each iteration to get more clarity about the issue.

Thanks

hey @Sgupta1 how are you?

try to not use the “official” variables.
So instead of $offset$ user $c_offset$ when i do that it seems to work more often.

best

Thanks for the reply @ipobeidi But I am still getting the same error.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.