Skip to content

API 400 errors don't become validation errors with user creation in admin #48

Description

@smcoll

When creating a new StormpathUser in the admin's create view, if the password doesn't meet some requirement (try a too-short password like 'foo'), a 500 is raised, instead of a validation error in the form:

Error at /admin/django_stormpath/stormpathuser/add/
{u'status': 400, u'developerMessage': u'Account password minimum length not satisfied.', u'message': u'Account password minimum length not satisfied.', u'code': 2007, u'moreInfo': u'http://docs.stormpath.com/errors/2007'}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions