Trying to bulk-create users from a CSV using the Python SDK’s batch_create_users endpoint. The request fails with a 400 Bad Request, but the JSON payload looks correct when printed to console. Here’s the snippet:
from genesyscloud.platform.client import PlatformClient
client = PlatformClient()
users = [...] # list of user objects parsed from CSV
response = client.users.api.post_users_batch_create(body=users)
Error response: {"errors":[{"code":"bad_request","message":"Invalid user data"}]}. Checked the schema, all required fields are present. What am I missing?