Account aggregation failed

I would like to understand why in the accounts the quantity is one, when the aggregation of accounts occurs the number is higher

3

Hey Kaio,

Cause you’re aggregating the same accounts all the time.

Maybe correct the Pagination should solve it.

best!
Marca solução pro paiii

Atualmente está assim.

Hi @kaiolima,

When you do a Postman call, do you get 256 records.? Do you see the users/accounts repeated/duplicated in the output.?

The number of accounts scanned and the number of original accounts that show up can vary if there are duplicate records being scanned during aggregation.

Ta estranho.
vc nao ta passando a URL de novo com o Offfset corrigido.


you need to pass the new URL with the new offset or variable for gathering the next page.

the response.next page if missing will return false.

do this instead.
https://community.sailpoint.com/t5/IdentityNow-Connectors/Web-Services-Source-Paging/ta-p/76676

$slimit$ = 100
$soffset$ = $soffset$ + $slimit$
$endpoint.fullUrl$ = $application.baseUrl$ + " <URL de exemplo www.xxx.com/users?limit=100&offset=>" + $sysparm_offset$

The URL is being passed here, would that be it?

1

Hello, when I search on Postaman, 156 accounts appear, the same number as the first image.

2

$page$ = 1
TERMINATE_IF $response.hasNextPage$ == false
$slimit$ = 100
$page$ = $page$ + 1
$endpoint.fullUrl$ = $application.baseUrl$ + " user/paginated?limit=100&page=" + $page$

2 Likes

Aqui Ivan

1 Like

Ok, vou fazer essa alteração e testar!

1 Like

I did the update and then I performed the aggregation of accounts manually, it remains there at 200 accounts and when you go to see the accounts tab, 156 appear, it could be duplicate accounts, because I pulled the number in the api and hit 156

2

então ta funcionando pai;

1 Like