It’s the schema validation again…we’re trying to create users via a Data Action POST to /api/v2/users, mirroring a process from the old Five9 system…the request body looks correct, a simple JSON payload with first name, last name, and email…but it consistently returns a 422 Unprocessable Entity.
The error message isn’t terribly helpful - just “invalid request body”. It seems like the API expects something different than what we’re sending, even though the documentation doesn’t explicitly state it…we’re on Genesys Cloud, latest release, and using the standard Data Action connector…a user creation failing is not ideal.
Here’s the payload being sent:
{
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com"
}
It feels like there’s a hidden property required…or maybe a specific formatting requirement not documented.