Comment 0 for bug 1226466

Revision history for this message
Alvin Garcia (agarcia1337) wrote : Add user on v2.0 does not match documentation specs

Providing "username" instead of "name" attribute returns:

{"error": {
    "message": "Name field is required and cannot be empty",
    "code": 400,
    "title": "Bad Request"
  }
}

When logging in with a user created with "OS-KSADM:password" instead of "password" attribute returns:

{"error": {
    "message": "An unexpected error prevented the server from fulfilling your request. no hash specified",
    "code": 500,
    "title": "Internal Server Error"
  }
}

The same error when logging in with a user created without the "password" or "OS-KSADM:password" attribute.

Ref: http://docs.openstack.org/api/openstack-identity-service/2.0/content/POST_addUser_v2.0_users_.html