"Request failed with status code 400: Wrong email or password" when creating users

Hi.

I’ve added second connection database with external database in auth0 and i’m trying to create users using managent-api.

managementAPI.users().create(user).execute();

and i’m gettintg “Request failed with status code 400: Wrong email or password”
Non of this happens when I’m using default connection ( Username-Password-Authentication). But despite this error. Users is saved in external database. What i’m doing wrong?