Hi everyone,
While testing our integration with the UserByEmailOrUsername API, we noticed that a request with a non-existing email returns a 400 Bad Request, even though the query itself is technically valid.
Example:
GET /Admin/Api/UserByEmailOrUsername?userName=testuser@example.com
Response:
{
"successful": false,
"message": "Unable to load query parameters for query type: 'UserByEmailOrUsername'"
}
For an existing user, the same request returns 200 OK with the user model.
We would have expected a 200 OK with successful=false instead of a 400.
Is this an intentional design choice? If so, could you clarify the reasoning behind it?
Thanks in advance.
