Skip to main content

RuntimeErrorEvent Error Codes

This runtime exeception can happen while developing and contain helpful informations or on run time. In this case app is not functional any more and triggers an automatic restart event.

SubSystem 500
MCSDK Error Codes caused by ASM-Service

CodeEnumDescription
500000001GENERAL_ERRORGeneral error
500000002INVALID_ACTIONFailed to check App Version: Invalid action
500000003ILLEGAL_STATEClient session is in an illegal state
500000004NO_SUCH_ALGORITHMCannot generate random number
500000005CONNECTION_NOT_SECUREDConnection must be secured for this command
500000006LICENCELicense error occurred
500000007USER_NOT_FOUNDUser does not exist
500000008APPVERSION_NOT_FOUNDApp version does not exist
500000009NO_DEVICE_FOR_CERTNo device found for the certificate
500000010USER_NOT_MAPPEDDevice's certificate is not mapped to a user
500000011SIGNED_CONTENT_INVALIDThis error indicates the provided signed content is either corrupted or does not match the expected signature, preventing proper verification of its integrity.
500000012TRANSACTION_CERT_NOT_FOUNDInvalid signed content
500000013CREATE_HASH_FAILEDFailed to create digest
500000014CERT_SIGNING_CREATION_FAILEDIssue with certificate signing/creation
500000015CERT_REQUEST_DECODING_FAILEDIssue with certificate request decoding
500000018DEVICE_SIGNATURE_INVALID_ALGORITHMInvalid signature algorithm
500000019DEVICE_SIGNATURE_INVALID_PUBKEYInvalid public key
500000020DEVICE_SIGNATURE_INVALID_SIGNATUREInvalid signature
500000021DEVICE_SIGNATURE_SIGNED_DATA_INVALIDSigned data is invalid
500000022DEVICETYPE_NOT_FOUNDDevice type does not exist
500000023CERT_ALREADY_IN_DBCertificate already exists in the database
500000024DEVICEKEY_ENCRYPTION_FAILEDCannot decrypt device key from the database
500000025APP_REGISTRATION_USER_NOT_REGISTER_USERUser is not authorized to register the app
500000026USER_NOT_TEST_USERTestApp: User is not authorized to test the app
500000028NOT_VIRTUAL_DEVICEDevice is not a virtual device
500000029LOCKED_CERTIFICATEDevice's certificate is locked
500000030RETRIES_EXCEEDEDVirtual device retry counter exceeded
500000031USER_LOCKEDUser is locked (by administrator)
500000032TRANSACTION_INVALID_COMMANDSTATUSInvalid command status in TransactionResponse
500000033USER_TEMPORARILY_LOCKEDUser is temporarily locked (e.g., RetryCounter exceeded)
500000034CERTIFICATE_EXPIREDCertificate is expired
500000035CERTIFICATE_NOT_YET_VALIDCertificate is not yet valid
500000036DEVICE_SIGNATURE_CERT_NOT_FOUNDCertificate not found for the device
500000037CERTIFICATE_NOT_MAPPED_TO_USERCertificate is not mapped to a user
500000038SESSION_PRESUMABLY_CLOSEDServer received data for a closed session
500000039NO_ISSUER_CERTIFICATEIssuer certificate not found
500000040INVALID_CERTIFICATEInvalid certificate
500000041NO_OTP_FOUNDOTP not found in session
500000042APPNAME_MISSINGHardware device does not provide an app name
500000044APPVERSION_NOT_REGISTEREDApp version is not registered
500000045NO_TRANSACTION_DATA_STOREDNo transaction data stored in session
500000046SESSION_CLOSEDSSMS closed the session
500000047APPVERSION_NOT_CONFIGURED_FOR_USERApp version is not configured for the user
500000048UPDATE_VERSION_MISSINGUpdate version is missing
500000049NOT_UPDATABLE_APPVERSION_EXPIREDApp version that doesn’t support the update process is expired
500000052APP_VERSION_NOT_FOUNDApp version not found in database
500000053DEVICE_TEMPORARY_LOCKEDDevice is temporarily locked
500000054TEMPLATE_RESOLUTION_ERRORError resolving template
500000055TRANSACTION_INVALID_NULLTransaction parameter is null or invalid
500000056INVALID_DATAServer received invalid data
500000057P2S_MESSAGE_INVALID_SIGNATUREInvalid signature for P2S-Message
500000058TENANT_CANNOT_REGISTERInheritable apps can only be registered in the master tenant
500000059INHERITABLE_VERSION_EXPECTEDInheritable version must be used (e.g., session key decrypted with master’s Asmca)
500000060INVALID_CSR_PROFILECertificate signature request's key usage and extended key usage extensions do not match defined profiles

SubSystem 800
MCSDK Error Codes caused by Backend (SSMS, SCP, IdP, ABS and other services)

CodeEnumDescriptionTroubleshooting
800000001kNotExistScpConfigOnStartRuntimeErrorSDK config not existHelpful while developing see if file is installed
800000002kUnexpectedErrorGetScpConfigOnStartRuntimeErrorError retriving SDK ConfigHelpful while developing see if file is installed
800000003kNotExistStatusGetResultEventOnStartRuntimeErrorSCP Config not existHelpful while developing see if file is installed
800000004kUnknownStatusGetResultEventOnStartRuntimeErrorUnexpected error during get SCP ConfigHelpful while developing see if file is installed
800000005kSCPConfigJsonParseRuntimeErrorParse error of SCP ConfigUC37StartMCWithoutUrls
801000008kSdkConfigParsingFailedRaised if it it was not possible to parse the sdk configmaybe file is corrupt or not existant
801000009kVerifyingSdkConfigFailedRaised if it was not possible to verify the sdk configmaybe file is corrupt
800000190kMcConfigJsonParseRuntimeErrorMC config json parse errorUC37StartMCWithoutUrls
800000191kMcConfigJsonMissingScpSectionRuntimeErrorMissing scp section in mc config jsonUC37StartMCWithoutUrls
800000192kMcConfigJsonMissingTokenIssuerUrlRuntimeErrorMissing token issuer url in scp section of mc config jsonUC37StartMCWithoutUrls
800000193kMcConfigJsonMissingIamSectionRuntimeErrorMissing iam section in mc config jsonUC37StartMCWithoutUrls
800000194kMcConfigJsonMissingSmartScreenSectionRuntimeErrorMissing smart screen scection in mc config jsonUC37StartMCWithoutUrls
800000197kMcConfigJsonMissingIamRuntimeErrorMissing client id in iam section of mc config jsonUC37StartMCWithoutUrls

For legacy reasons we needed to keep the old Subsystem/ErrorCode logic here. Given the one error code MCSDK is providing, the least six significant digits are the ErrorCode while the remaining most significant digits are the SubSystem

Error CodeSybsystemDescriptionTroubleshooting
632, 102, 202, 602The user credentials folder cannot be parsed for user credentials. Normally the path is invalid or not accessible.Secure storage of a device not available. User should unlock device before MCSDK usage