Skip to main content

AST Key Protection Error Codes (SubSystem 520)

SubSystemErrorCodeHttp CodeNameDetails and TroubleshootingConsole Message
520500500Internal"An unexpected error occurred"
520503503ServiceUnavailable"The service's availability was disrupted"
520status.code()statusGenericHttpErrormessage ?: status.reasonPhrase()
520400400BadRequestInvalid data found in the request. Check the response for additional details."Invalid data found in the request"
520401401UnauthorizedA proper Authorization: Bearer header was missing on the request"A proper Authorization: Bearer header was missing on the request"
5204001400MissingFieldMissing required field in Json object. Ensure all the required fields available in the Json object, check the response for missing field"Missing required $location"
5204002400MalformedFieldMalformed field in Json object. Check the response for additional details"Malformed $locationAndReason"
5204003400MalformedBodyMalformed request body. Check the request body"Malformed request body" + (reason?.let { ": $it" } ?: "")
5204004400DuplicateKeystoreProtectionKeystoreDuplicate key constraint violated"Duplicate key constraint violated: $id"
520403403ForbiddenThe user is not allowed to access the resource"The user is not allowed to access the resource"
5204031403MissingUserIdThe user ID is missing in the access token"The user ID is missing in the access token"
5204032403MissingClientIdThe AST client ID is missing in the access token"The AST client ID is missing in the access token"
5204033403MissingAuthTimeThe token must contain either the authentication or issuance time"The token must contain either the authentication or issuance time"
5204034403ExplicitAuthMissingRequired explicit authentication scope is missing"Required explicit authentication scope '$requiredScope' is missing"
5204036403SessionKeyNotFoundThe session key (preMasterSecret) with the id could not be found"The session key (preMasterSecret) with the id $id could not be found"
5204037403SessionKeyDecryptionFailedThe session key decryption failed"The session key decryption failed" + (reason?.let { ": $it" } ?: "")
5204038403SessionKeyEncryptionFailedThe session key encryption failed"The session key encryption failed" + (reason?.let { ": $it" } ?: "")
5204041404KeystoreNotFoundThe keystore protection key for user and clientId could not be found"The keystore protection key $keyId for user '$tenant/$user' and clientId '$clientId' could not be found"
5204042404NotFoundByIdThe keystore protection key with id for user and client could not be found"The keystore protection key with id '$protectionKeyId' for user " + "'${astUser.tenant}/${astUser.userId}' and client ${astUser.astClientId} could not be found"
5204043404NoMatchingKeysForClientThere are no keystore protection keys found for client in tenant"There are no keystore protection keys found for client $clientId in tenant $tenant"
5204043404NoMatchingKeysForUserThere are no keystore protection keys found for user"There are no keystore protection keys found for user '$tenant/$user'"
52031403BadCertProfileThe AST Device Certificate profile is missing"The AST Device Certificate profile is missing"
52050500EncryptionErrorError during payload encryption"Error during payload encryption" + (message?.let { ": $it" } ?: "")
52051400DecryptionErrorError during payload decryption"Error during payload decryption" + (message?.let { ": $it" } ?: "")
52052500DbEncryptionErrorError during database encryption"Error during database encryption" + (message?.let { ": $it" } ?: "")
52053500DbDecryptionErrorError during database decryption"Error during database decryption" + (message?.let { ": $it" } ?: "")
52060500TrustStoreDoesNotExistThe configured truststore file does not exist"The configured $purpose truststore file at <$file> does not exist"
52061500TrustStoreRequiredThe configured truststore file does not exist"A trust store is required for SSL mode $mode, but non is configured"
5205001500DbErrorDatabase Error"Database Error" + (details?.let { ": $it" } ?: "")
5205002500KafkaErrorKafka Error"Kafka Error" + (details?.let { ": $it" } ?: "")
52050010500UnknownTopicRoutingKeyEncountered an outbox item with the unknown topic routing key"Encountered an outbox item with the unknown topic routing key '$key'"