Slack supported attributes and error handling

The following tables describe the supported attributes and error handling available when configuring provisioning for Slack.

Supported attributes

Table 1.
Attribute name Definition Mapped Cloud Directory attribute (default mapping) Type Mandatory Modifiable
userName User's username preferred_username String Yes No
email User's email address email String Yes Yes
familyName User's surname family_name String No Yes
givenName User's given name given_name String No Yes
displayName User's display name name String No No
title User's job title job_title String No Yes
preferredLanguage User's preferred language language String No Yes
mobilePhone User's phone number mobile_numger String No Yes
country User's country work_country String No Yes
employeeNumber User's employee ID employee_id String No Yes
department User's department department String No Yes

Error handling

Table 2. Error codes
Sr. No. Status code Definition
1. 400 Invalid input error
2. 401 Authentication error
3. 403 Forbidden error
4. 404 Resource not found error.
5. 409 Resource conflict error
6. 429 Confirmed rate limit error