"Field \"identityIds\" length is outside of range [1,250]

Hi Folks,

I want to bulk execute the users via Postman API under V2024 and getting below error when executing ID’s for 500 users.

"Field "identityIds" length is outside of range [1,250].

API Call: {{baseUrl}}/identities/process (Process a list of identityIds)

Tried my way via Postman, Powershell script and workflow. How we can execute bulk users for 1000+ users and bypass this limit.

Thanks in advance
Maninder

You will need to break your processing down into batches. For example, if you are using PowerShell, put your total list of users into an array, then for each set of users generate the allowable list of 250 identity ids and make the API call. Continue this process until all of your user list is finished.

1 Like

Thanks Alicia, I managed to write script to do bulk now. But is there anyway to do it via workflow?

Yeah yes, you can. Whichever things you do via an API can be done via workflow too.

But you should see, which inbuilt triggers match your requirement, else this will not be possible. In workflow, use HTTPRequest action to do this. In requested URL, you can use the URL you need to, filters can be dynamic or static.

Thanks!!

Thanks Gokul. Via powershell, I can control to process 250 records at once, but I could not find any operator or trigger in the workflow to leverage that. Hard to read the user’s ID via Search Query. Guide me if there is any better way to do this.

end result : I can process users which matches my searchquery but in batches via Workflow.

Hi @msingh39,

Have you tried using recursive workflows?

Thanks

1 Like

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