Skip to main content

Active Directory (AD) Service Error Codes

AD Service Error Codes is a collection of error codes that are associated with an Active directory operations, such as authentication failures, resource access problems, or directory object issues.

For any error code not documented here, please reach out to our support team and share the message and URL with us. We will immediately help investigate why this issue occured for you.

What does Error Code xxx mean?

cidaas returns error status codes on different occasion. To find about the AD service related errors, you can navigate to the AD Service Error Code Page and lookup your retrieved error code. There you will also find useful hints how to solve them.

For example:

If you encounter this error code (SAML0001) in your application, you should follow the hint provided.

The following table represents the AD service error codes that will help you in identifying and troubleshooting various errors or failures.

CodeErrorError DescriptionHint
SAML0001invalid_tenant_keyTenant key must not be emptyPlease check the tenant key
SAML0002invalid_requestSAML not enabled for client_id, Please enable it in the app's SAML settingsSAML settings are disabled for the app
SAML0003invalid_requestSP metadata not configured for client_id, Please enable it in the app's SAML settingsSP metadata not configured for the app
SAML0004missing_infoDefault redirect URL for IDP-initiated flow not configured in the app's SAML settings, please enable it in the app SAML settingsRedirect URL is not configured
SAML0005invalid_requestSAMLRequest in query or body must not be emptyPlease check the requestId, username, or password parameters you are passing are in the correct format
SAML0006invalid_requestID config not foundInvalid ID config
SAML0007missing_infoAuth Request missing signature dataMissing signature data
SAML0008missing_infoUnsupported NameIDFormatPlease check the requestId, username, or password parameters you are passing are in the correct format
SAML0009invalid_assertionInvalid redirect URL configured, please add this URL in the appEnsure the SAML assertion is properly formatted and contains all required attributes
SAML0010expired_assertionInvalid assertion consumer service location configured. Please update valid 'assertion consumer service location' in SP metadata or the appVerify the NotOnOrAfter condition in the assertion
SAML0011invalid_request_idRequest_id or state or sub or identity_id must not be emptyEnsure that the request ID is present
SAML0012invalid_requestInvalid state passedState might be missing
SAML0013user_not_foundNot able to find userUser information not found
SAML0014invalid_requestInvalid client_idInvalid or missing client_id
SAML0015missing_infoIDP Config missingMissing IDP configuration
SAML0016invalid_requestInvalid sessionIndex passed in logout requestInvalid session index passed
SAML0017missing_infoNameID or sessionIndex not passedMissing NameID or sessionIndex
SAML0018invalid_requestName must not be empty in the bodyMissing provider name in the body
SAML0019invalid_requestName must not contain special characters other than hyphen(-) and underscore(_), and must be 20 characters or lessProvider name should be in a valid format
SAML0020missing_inforequestId or provider or view_type in body must not be emptyMissing requestId, provider, or view_type
SAML0021invalid_requestInvalid request idRequestId passed is invalid
SAML0022missing_infoNot able to create provider metadataError in creating provider metadata
SAML0023invalid_requestNot able to load provider metadataError loading provider metadata
SAML0024not_foundUser status is not verifiedNot able to find user status
SAML0025invalid_requestError while resolving hosted page URLError in hosted page URL
SAML0027duplicate_infoDuplicate key while saving verificationDuplicate provider name
SAML0028invalid_requestError saving dataError saving data
SAML0029missing_infoDatabase write errorDatabase write error
SAML0030invalid_requestError creating userUser cannot be created
SAML0031invalid_requestInvalid app usedInvalid app
SAML0032token_errorError while generating the access tokenAccess token error
SAML0033app_config_errorInvalid client credentials or app not configuredClient credentials error
SAML0034app_config_errorclient_id must not be empty in the bodyAccess token error

Need Support?

Please contact us directly on our support page