Python SDK bulk user creation hitting 400 Bad Request on CSV loop

Could someone explain why my Python SDK script fails with a 400 Bad Request when iterating through a CSV to create users? I’m parsing a CSV of 500 agents and calling post_users in a tight loop, but the genesyscloud.rest.rest_client throws {'errors': [{'detail': 'Invalid user email format', 'code': 'invalid_request'}]} on the third iteration despite valid emails in the source file. Is there a rate limit or threading issue with the SDK client that requires explicit sleeps or batch processing? Here is the snippet:

for row in csv_data:
 user = genesyscloud.models.UserRequest(
 email=row['email'],
 name=row['name']
 )
 api_instance.post_users(body=user)