...
Code | Message | Description |
400 | {Attribute} is required. | A mandatory attribute was not provided in the request. See mandatory attributes for users and groups. |
400 | {Attribute} must be at least {limit} chars. | An attribute did not meet the minimum length criteria. See type and length requirements for attributes. |
400 | {Attribute} should not exceed {limit} chars. | An attribute exceeded the maximum length allowed. See type and length requirements for attributes. |
400 | {Attribute} is not valid. | An attribute is not in valid format. e.g. email is not in proper format, locale is not a valid code etc. |
400 | At least one primary email is required. | A user must have one primary email. |
400 | {Attribute} is immutable or readOnly. | An attribute sent in the request cannot be modified. This occurs when immutable attributes like id or readOnly attributes like meta.created are sent in the request. |
401 | Invalid access token. | Access token provided in the header is not proper or may have expired. Obtain a new access token if it has expired. |
403 | System roles cannot be modified. | System roles like Default, Builder and Maintenance cannot be modified. |
404 | {Resource} does not exist. | There is no resource in the database with the given id. This may occur due to incorrect id when you try to fetch a user or a group, or when you try to add or remove members from a group. |
409 | {Resource} already exists. | Resource you are trying to create already exists. In case of users, there may already exist a user with the given id or username. In case of groups, there may already exist a group with the displayName. |
500 | Internal server error. | An unexpected error occurred. Contact system administrator. |