Trying to bulk-create users from a CSV file using the Genesys Cloud Python SDK. I’m parsing the rows and calling platform_client.users_api.post_users in a loop. It works for the first few users, then I get a 400 Bad Request with a validation error on the routing_profile_id.
Here is the snippet:
for row in csv_data:
body = UsersPostRequest(email=row['email'], routing_profile_id=row['routing_id'])
api_response = platform_client.users_api.post_users(body=body)
The ID looks valid. Is there a rate limit or a specific format I’m missing?