User creation through the Python lib is returning a 400 without any useful message. Looks like it might even be an upstream error. This is for a developer account.
>>> from auth0.v3.management import Auth0
>>> from apps.accounts.utils import auth0_mgmt_api_token
>>> from django.conf import settings
>>> client = Auth0(settings.AUTH0'domain'], auth0_mgmt_api_token())
>>> client.users.create({'connection': settings.AUTH0'connection'], 'email': 'from-console@example.com', 'password': 'test123'})
{'statusCode': 400, 'message': 'Sandbox Error: Internal server error', 'error': 'Bad Request'}
This in contrast to a similar request which helpfully shows what is wrong with the request:
>>> client.users.create({'connection': settings.AUTH0'connection'], 'email': 'from-console@example.com'})
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/env/lib/python3.5/site-packages/auth0/v3/management/users.py", line 75, in create
return self.client.post(self._url(), data=body)
File "/env/lib/python3.5/site-packages/auth0/v3/management/rest.py", line 64, in post
return self._process_response(response)
File "/env/lib/python3.5/site-packages/auth0/v3/management/rest.py", line 111, in _process_response
message=text'message'])
auth0.v3.exceptions.Auth0Error: 400: Payload validation error: 'Missing required property: password'.