Error Codes for the Status Code 400 Bad Request
The following error codes are returned in the Britive API responses when the HTTP status code is 400 Bad Request :
Application related:
| Error Code | Description | 
| A-0001 | An error occurred when creating an application. | 
| A-0002 | An error occurred when reading properties for an application. | 
| A-0003 | An error occurred when updating an application. | 
| A-0004 | An error occurred when deleting an application. | 
| A-0005 | An error occurred when saving properties for an application. | 
Advanced Settings related:
| Error Code | Description | 
|---|
| AS-0001 | An error occurred when the justification was missing in the check-out request. | 
| AS-0002 | An error occurred when the justification did not match the regular expression. | 
| AS-0003 | An error occurred when the ITSM ticket type and ID were both missing. | 
| AS-0004 | An error occurred when the ITSM ticket type was missing. | 
| AS-0005 | An error occurred when the ITSM ticket ID was missing. | 
| AS-0006 | An error occurred when the ITSM ticket type was invalid. | 
| AS-0007 | An error occurred when the ITSM ticket ID was invalid. | 
API token related:
| Error Code | Description | 
|---|
| AT-0001 | An error occurred when creating an API token. | 
| AT-0002 | An error occurred updating an API token. | 
| AT-0003 | An error occurred while deleting an API token. | 
Application-specific profile check-in related:
| Error Code | Description | 
|---|
| CI-0001 | An error occurred when checking in a profile for an AWS application. | 
| CI-0002 | An error occurred when checking in a profile for the Azure application. | 
| CI-0003 | An error occurred when checking in a profile for the GCP application. | 
| CI-0004 | An error occurred when checking in a profile for the Oracle application. | 
| CI-0005 | An error occurred when checking in a profile for the SalesForce application. | 
| CI-0006 | An error occurred when checking in a profile for the ServiceNow application. | 
Application-specific profile checkout related:
| Error Code | Description | 
|---|
| CO-0001 | An error occurred when checking out a profile for the AWS application. | 
| CO-0002 | An error occurred when checking out a profile for the Azure application. | 
| CO-0003 | An error occurred when checking out a profile for the GCP application. | 
| CO-0004 | An error occurred when checking out a profile for the Oracle application. | 
| CO-0005 | An error occurred when checking out a profile for the SalesForce application. | 
| CO-0006 | An error occurred when checking out a profile for the ServiceNow application. | 
Profile checking in/out related:
| Error Code | Description | 
|---|
| MA-0001 | An error occurred when checking in a profile. | 
| MA-0002 | An error occurred when checking out a profile. | 
| MA-0003 | An error occurred when reading the status of a checked-out profile. | 
| MA-0004 | An error occurred when updating the status of a checked-out profile. | 
| MA-0005 | An error occurred when getting information on shared accounts for a profile. | 
| MA-0006 | An error occurred when deleting a snapshot for a checked-out profile. | 
| MA-0007 | An error occurred when creating a snapshot for a checked-out profile. | 
| MA-0008 | An error occurred in getting tokens or the console URL because the profile was already checked in. | 
| MA-0009 | An error occurred when the justification was missing for an approval request. | 
Profile management related:
| Error Code | Description | 
|---|
| P-0001 | An error occurred when creating a profile. | 
| P-0002 | An error occurred when reading a profile. | 
| P-0003 | An error occurred when updating the properties of a profile. | 
| P-0004 | An error occurred when deleting a profile. | 
| P-0005 | An error occurred while validating the properties of a profile. | 
Profile access related:
| Error Code | Description | 
|---|
| PF-0001 | An error occurred when saving a profile as one of the favorites. | 
| PF-0002 | An error occurred in deleting profiles marked as favorites. | 
| PF-0003 | An error occurred in reading profiles marked as favorites. | 
Profile Policy related:
| PP-001 | An error occurred when permissions were not allowed for policy. | 
| PP-002 | An error occurred when a token is invalid input for policy members. | 
| PP-003 | An error occurred when creating a profile policy. | 
| PP-004 | An error occurred when updating the properties of a profile. | 
| PP-005 | A generic error occurred, error message is dynamic based on the scenario. | 
| PP-006 | An error occurred when the policy cannot be created or updated for all users (*). | 
Access Broker related:
| Error Code | Description | 
|---|
| RM-0001 | An error occurred while removing a favorite resource. | 
| RM-0002 | An error occurred when checking out an existing resource profile. | 
| RM-0003 | An error occurred when check-in of a profile is not allowed. | 
| RM-0004 | An error occurred when an invalid transaction is provided in the request. | 
| RM-0005 | An error occurred when a user is not authorized to perform the check-in. | 
| RM-0006 | An error occurred when associations are not added to profiles before permissions. | 
| RM-0007 | An error occurred when a given variable does not exist in the associated permission. | 
| RM-0008 | An error occurred when a resource permission does not exist for a given ID. | 
| RM-0009 | An error occurred when a resource label key does not exist. | 
| RM-0010 | An error occurred when a resource profile does not exist for a given ID. | 
| RM-0011 | An error occurred when a resource type does not exist for a given ID. | 
| RM-0012 | An error occurred when a response template does not exist for a given name. | 
| RM-0013 | An error occurred when variable values are not permitted because the permission does not include any variables. | 
| RM-0014 | An error occurred when a profile already has permission for the specified resource type. | 
| RM-0015 | An error occurred when a resource type ID does not match the permission's resource type. | 
| RM-0016 | An error occurred when profile permissions do not support adding a specified permission. | 
Custom application related:
| Error Code | Description | 
|---|
| TA-0001 | An app template internal error occurred. 
 | 
| TA-0002 | An error occurred due to an unsupported file type. 
 | 
| TA-0003 | An error occurred because the file size exceeds the specified limit. 
 | 
| TA-0004 | An error occurred because the template name already exists. 
 | 
| TA-0005 | An error occurred while uploading the template file. 
 | 
| TA-0006 | An error occurred while scanning/parsing the template file. 
 | 
| TA-0007 | An error occurred while validating the template file against the schema. 
 | 
| TA-0008 | An error occurred while validating the template file for Jinja expression. 
 | 
| TA-0009 | An error occurred while validating the SVG icon in the template file. 
 | 
Users related:
| Error Code | Description | 
|---|
| U-0001 | An error occurred during the validation of the username format when creating or updating a user. | 
| U-0002 | An error occurred reading properties for a user. | 
| U-0003 | An error occurred when modifying properties for a provisioned user from an external system. | 
| U-0004 | An error occurred when creating a user. | 
| U-0005 | An error occurred when updating a user. | 
| U-0006 | An error occurred when deleting a user. | 
| U-0007 | An error occurred when disabling a user. | 
| U-0008 | An error occurred when enabling a user. | 
| U-0009 | An error occurred when trying to create a user that already exists. | 
| U-0010 | An error occurred when trying to reset a password for a user. | 
| U-0011 | An error occurred when trying to reset the MFA device for a user. | 
User tags related:
| Error Code | Description | 
|---|
| UT-0001 | An error occurred when creating a user tag. | 
| UT-0002 | An error occurred when modifying a provisioned user tag from an external system. | 
| UT-0003 | An error occurred reading the properties of a user tag. | 
| UT-0004 | An error occurred when adding a user to a tag. | 
| UT-0005 | An error occurred when adding a user to a tag that is already associated with a profile via the same tag. | 
| UT-0006 | An error occurred when removing a user from a tag. | 
| UT-0007 | An error occurred when disabling a user tag. | 
| UT-0008 | An error occurred when enabling a user tag. | 
| UT-0009 | An error occurred when deleting a user tag. | 
| UT-0010 | An error occurred when updating a user tag. | 
Miscellaneous:
| Error Code | Description | 
| R-0001 | An error occurred while loading the contents of a report. | 
| IDP-0001 | An error occurred disabling MFA for all users. | 
| G-0001 | A generic error code when no specific error code is defined. | 
Error Codes for the Status Code 401 Unauthorized
The following error codes are returned in the Britive API responses when the HTTP status code is 401 Unauthorized:
| Error Code | Description | 
| AU-0000 | A generic error during authentication failure. | 
| AU-0001 | An error occurred during authentication when an invalid challenge parameter was passed. | 
| AU-0002 | An error occurred during authentication when an invalid SSO provider was passed. | 
| AU-0003 | The user not found error during authentication. | 
| AU-0004 | User is disabled | 
| AU-0005 | The user is a service identity. | 
| AU-0006 | An error occurred validating the user. | 
| AU-0007 | An invalid OAuth token was passed during authentication. | 
| AU-0008 | An error occurred when users try to change the password on their own. | 
| AU-0009 | An error occurred when validating the OTP provided for MFA. | 
| AU-0010 | An error occurred enrolling a user during MFA. | 
| AU-0011 | An error occurred when changing a temporary password upon authentication | 
| AU-0012 | An error occurred when recovering a forgotten password. | 
| AU-0013 | An error occurred validating the user during SSO login. | 
| AU-0014 | An invalid tenant error. | 
| AU-0015 | API token not found error. | 
| AU-0016 | API token has been revoked. | 
| AU-0017 | API token has expired. | 
| AU-0018 | The API token is invalid. |