# NERM Web Services SAAS Connector Configuration - Paging

**URL:** <https://developer.sailpoint.com/discuss/t/nerm-web-services-saas-connector-configuration-paging/55872>\
**Category:** SHF Discussion and Questions\
**Tags:** webservice-connector, nerm, apis, aggregation, sailpoint-identity-security\
**Created:** [May 8, 2024, 3:36pm UTC](https://developer.sailpoint.com/discuss/t/nerm-web-services-saas-connector-configuration-paging/55872 "2024-05-08T15:36:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnnaKolodziejcyk](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@AnnaKolodziejcyk](https://developer.sailpoint.com/discuss/u/AnnaKolodziejcyk)\
**Post date:** [May 8, 2024, 3:36pm UTC](https://developer.sailpoint.com/discuss/t/nerm-web-services-saas-connector-configuration-paging/55872/1 "2024-05-08T15:36:36Z")

</div>

Hi all,

I am building a web services SAAS connector to manage non-employee identities within ISC. Due to the limitation of 500 profiles being pulled with the get profiles API endpoint, I’ve had to configure paging for account aggregation. I am using the paging configuration (with the correct profile type id for my tenant) found at this link: [Push or Pulled IDN users into NERM via API](https://developer.sailpoint.com/discuss/t/push-or-pulled-idn-users-into-nerm-via-api/34856/8). I have 933 profiles to aggregate, and I am able to aggregate 852 accounts before I get the following error:

> “java.lang.RuntimeException - java.lang.IllegalStateException: [ConnectorError] HttpClientWrapper.ts Response status :400 doesn’t match to allowed success codes : 200,2\*\*,2\*\*,2\*\* response : {“error”:“no profiles found”}”

Any insight on what could be causing this and how it can be fixed?

---

<div class="post-metadata">

**Author:** ![ajmerasunny1](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@ajmerasunny1](https://developer.sailpoint.com/discuss/u/ajmerasunny1)\
**Post date:** [May 8, 2024, 4:05pm UTC](https://developer.sailpoint.com/discuss/t/nerm-web-services-saas-connector-configuration-paging/55872/2 "2024-05-08T16:05:28Z")

</div>

@douglas_dempsey @ZackTarantino-Woolson Any pointers on how to resolve this issue?

---

<div class="post-metadata">

**Author:** ![ZackTarantino-Woolson](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/zacktarantino-woolson/32/8372_2.png) [@ZackTarantino-Woolson](https://developer.sailpoint.com/discuss/u/ZackTarantino-Woolson)\
**Post date:** [May 9, 2024, 5:35pm UTC](https://developer.sailpoint.com/discuss/t/nerm-web-services-saas-connector-configuration-paging/55872/3 "2024-05-09T17:35:07Z")

</div>

Based on the error, the aggregation is failing because it did not get back a 200 or 2\*\* status code. It was returned as a 400 status with the error “no profiles found”.

From that, it is likely that the offset value had gone beyond the number of profiles that is available based on the query parameters. Example for that error from my SB where I have 129 profiles but I set the offset to 700:

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/7/769fe77366435cb37552d6928fedf1c897b5b4d4.png)

What is the paging increment being used in the http operation? In general, you should be safe to increment the offset by the limit each time and use a TERMINATE\_IF clause to end the aggregation before you hit the “beyond offset” error .

---

<div class="post-metadata">

**Author:** ![DerekHackbardt](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/derekhackbardt/32/5684_2.png) [@DerekHackbardt](https://developer.sailpoint.com/discuss/u/DerekHackbardt)\
**Post date:** [May 13, 2024, 12:51pm UTC](https://developer.sailpoint.com/discuss/t/nerm-web-services-saas-connector-configuration-paging/55872/4 "2024-05-13T12:51:04Z")

</div>

I replied over in this thread: [Push or Pulled IDN users into NERM via API - #15 by DerekHackbardt](https://developer.sailpoint.com/discuss/t/push-or-pulled-idn-users-into-nerm-via-api/34856/15)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [July 12, 2024, 12:52pm UTC](https://developer.sailpoint.com/discuss/t/nerm-web-services-saas-connector-configuration-paging/55872/5 "2024-07-12T12:52:00Z")

</div>

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