| 1. |
When JWT Token is invalid, expired or incorrect. |
400 (Bad request) / 401 (Unauthorized) |
Invalid authentication token. |
The authentication token provided in the header is either expired or incorrect. |
| 2. |
When UserId is empty Guid |
400 (Bad Request) |
The User Id cannot be empty UUIDv4. Please use a non-zero UUIDv4. |
The "User Id" is a required field and it should be a valid non-empty UUIDv4 value. |
| 3. |
When Card Format is not Provided, or provided without double quotes, or is provided null or empty |
400 (Bad Request) |
The Card Format must be provided. |
The "Card Format" is a required field. Supported values are 26A,34S, 35X,37H,37X and 48X. |
| 4. |
When Card Format is Invalid. |
400 (Bad Request) |
The Card Format is invalid. |
The "Card Format" is not valid. Supported values are 26A,34S, 35X,37H,37X and 48X. |
| 5. |
When Invalid or non-zero Issue code is provided for Open Card Format |
400 (Bad Request) |
The Issue Code is invalid for Card Format - 26A. Supported Issue Code is 0 for 26A. |
The “Issue Code” is not valid. Supported value for 48X card format is 20 and for other card formats
supported value is 0. |
| 6. |
When Issue Code which is not Mapped to Restricted Card Format is provided. |
400 (Bad Request) |
You do not have permission to create mobile credential using restricted Card Format. Please contact
support
|
Your role does not have the necessary permissions to perform this operation. For further information,
please
contact your site administrator or Allegion integration engineer (203). |
| 7. |
When Issue Code is provided invalid or empty. |
400 (Bad Request) |
The Issue Code must be provided in uint format. |
The “Issue Code” is not valid. Supported value for 48X card format is 20 and for other card formats
supported value is 0 |
| 8. |
When Issue Code not provided or is passed Null or Incorrect for Restricted Card Format. |
400 (Bad Request) |
The Issue code should be between 1 and 63. |
The “Issue Code” is not valid. Supported value for 48X card format is 20 and for other card formats
supported value is 0 |
| 9. |
When Facility Code which is not mapped for Restricted Card Format in Allegion is Provided but the
value
is
within the range of Restricted card format. |
400 (Bad Request) |
The Facility Code is invalid for the restricted Card Format. Please contact support to get the valid
Facility Code. |
If you are using a '48X', it requires a specific configuration for your integration. Please reach out
to
Allegion integration engineer for assistance with the configuration process. |
| 10. |
When Facility Code is not provided, or is provided invalid, null or empty. |
400 (Bad Request) |
The Facility Code must be provided in uint format. |
The "Facility Code" is a required field. The facility code ranges vary for each card format, as
follows:
- For '26A', the supported facility code range is from 0 to 255.
- For '34S', the supported facility code range is from 0 to 4095.
- For '35X', the supported facility code range is from 0 to 4095.
- For '37X', the supported facility code range is from 0 to 65535.
Please note that facility code ranges are not applicable for '37H'.
If you are using a '48X', it requires a specific configuration for your integration. Please reach out to
Allegion integration engineer for assistance with the configuration process. |
| 11. |
When Mobile Number is not provided, or is provided invalid. |
400 (Bad Request) |
The Mobile Number must be provided in E.164 format. The "Mobile Number" is a required field, and it
should
be in E.164 format. |
Please provide a valid Mobile Number in E.164 format. |
| 12. |
When UserId is not provided or is provided invalid. |
400 (Bad Request) |
The User Id must be provided in UUIDv4 format. The "User Id" is a required field, and it should be a
valid
GUID/UUIDv4. |
Please provide a valid User Id in UUIDv4 format. |
| 13. |
When Empty Json is provided for Body. |
400 (Bad Request) |
The Mobile Number must be provided in E.164 format. The User Id must be provided in UUIDv4 format. The
Card
Format must be provided. |
Please provide a valid Mobile Number in E.164 format, a valid User Id in UUIDv4 format, and the Card
Format.
Supported Card Formats are 26A, 34S, 35X, 37H, 37X, and 48X. |
| 14. |
When no Curly braces are provided in Body. |
400 (Bad Request) |
Invalid Create Credential Request. Please provide a valid JSON object in the request body enclosed in
curly
braces {}. |
Please provide a valid JSON object in the request body enclosed in curly braces {}. |
| 15. |
When the mobile number is not passed in valid E.164 format. |
400 (Bad Request) |
The Mobile Number must be provided in E.164 format. The "Mobile Number" is a required field, and it
should
be in E.164 format. |
Supported Formats: +1 <10 to 14 digits> (e.g., +11234567890) |
| 16. |
When attributes are non-JSON value. |
400 (Bad Request) |
Invalid Attributes. Please provide a valid JSON object in Attributes enclosed in curly braces {}. |
Note: Being an optional field, if attributes are not passed, or is passed as null or empty json {},
creates
credential. |
| 17. |
When Attribute’s key is/are unknown. |
400 (Bad Request) |
The '<key>' is not a supported attribute. |
E.g.: The 'key1' is not a supported attribute., The 'key2' is not a supported attribute. "Attributes"
is
an
optional field, and supported attributes are "SiteID" and "SiteName". SiteId accepts your ENGAGE site Id
and
SiteName accepts your ENGAGE site name. |
| 18. |
When Attribute’s key is/are valid, but value is null. |
400 (Bad Request) |
The '<key>' attribute cannot be null. |
E.g.: The 'SiteiD' attribute cannot be null., The 'SiteName' attribute cannot be null. "Attributes" is
an
optional field, and supported attributes are "SiteID" and "SiteName". SiteId accepts your ENGAGE site Id
and
SiteName accepts your ENGAGE site name. |
| 19. |
When Attribute’s key is/are valid, but value is null. |
400 (Bad Request) |
The '<key>' attribute cannot be null. |
E.g.: The 'SiteiD' attribute cannot be null., The 'SiteName' attribute cannot be null. "Attributes" is
an
optional field, and supported attributes are "SiteID" and "SiteName". SiteId accepts your ENGAGE site Id
and
SiteName accepts your ENGAGE site name. |
| 20. |
When SiteId or SiteName length is greater than 2000. |
400 (Bad Request) |
The '<key>' attribute value exceeds the maximum character limit of 2000. |
E.g.: The 'SiteId' attribute value exceeds the maximum character limit of 2000. The maximum number of
characters allowed for fields SiteId and SiteName is 2000. Please ensure that the value you provide for
these
fields does not exceed this limit. |
| 21. |
When the role is non-administrator (manager, operator). |
403 (Forbidden) |
You do not have permission to access the requested resource. Please contact your site administrator
for
more
information (203). |
Your role does not have the necessary permissions to perform this operation. For further information,
please
contact your site administrator or Allegion integration engineer (203). |
| 22. |
When the onboarding is not completed. |
403 (Forbidden) |
Integration is not complete for your account. Contact your site administrator for more information.
|
Your account's integration with Allegion is incomplete. For further information, please contact your
site
administrator or Allegion integration engineer. |
| 23. |
When UserId is already Present. |
409 (Conflict) |
The User is already associated with a Mobile Credential. Please check the User Id and try again. |
The "User Id" provided is already associated with a credential, please provide a new UUIDv4 value for
the
User Id. |
| 24. |
When Mobile Number is already Present. |
409 (Conflict) |
The Mobile Number is already associated with a User. Please check the Mobile Number and try again.
|
The "Mobile Number" provided is already associated with a credential, please provide a new mobile
number
value in E.164 format. |
| 25. |
When Maximum Card Number is reached for a particular Facility Code. |
417 (Expectation Failed) |
The maximum Card Number limit has been reached for this Facility Code. Please use a different Facility
Code.
|
Maximum card number limit has been reached for this Facility Code. The facility code ranges vary for
each
card format, as follows:
- For '26A', the supported facility code range is from 0 to 255.
- For '34S', the supported facility code range is from 0 to 4095.
- For '35X', the supported facility code range is from 0 to 4095.
- For '37X', the supported facility code range is from 0 to 65535.
Please note that facility code ranges are not applicable for '37H'.
For '48X', use the specific facility code configured for your integration. |
| 26. |
If any other Exception occurs. |
500 (Internal Server Error) |
Failed to create mobile credential. Please try again later or contact support if the issue persists.
Reason:
The system encountered an internal problem while performing a task and was unable to complete it. |
Please try the action again after some time, and if the issue persists, please contact Allegion
integration
engineer for further assistance. |
| 27. |
If you are providing invalid Facility code for open or restricted card format which is outside the
range
of
that card format. |
400 (Bad Request) |
Facility code should be between {minvalue} and {maxvalue}. |
The facility code ranges vary for each card format, as follows:
- For '26A', the supported facility code range is from 0 to 255.
- For '34S', the supported facility code range is from 0 to 4095.
- For '35X', the supported facility code range is from 0 to 4095.
- For '37X', the supported facility code range is from 0 to 65535.
Please note that facility code ranges are not applicable for '37H'.
If you are using a '48X', it requires a specific configuration for your integration. Please reach out to
Allegion integration engineer for assistance with the configuration process. |