Skip to content

Status and Fault Codes ​

Overview ​

Status Codes (Success) ​

CodeMessageDescriptionApplicable To
100REQUEST_OKThe request from the AP has been accepted.Signature, Receipt, Profile
500SIGNATUREThe MSS Signature transaction was successful.Signature, Status Query
501REVOKED_CERTIFICATEThe Mobile ID user's x509 certificate has been revoked. The user must re-activate the account on the Mobile ID self-care portal.Signature, Status Query
502VALID_SIGNATUREThe MSS Signature transaction was successful.Signature, Status Query
503INVALID_SIGNATUREThe MSS Signature transaction failed due to invalid signature data. The user may try to re-activate the account on the Mobile ID self-care portal. It may be required to replace the SIM card.Signature, Status Query
504OUTSTANDING_TRANSACTIONThe MSS Signature transaction is outstanding. The AP must try again later.Status Query

Fault Codes (Error) ​

CodeMessageDescriptionApplicable To
101WRONG_PARAMThe AP's request contains wrong parameters.All
102MISSING_PARAMThe AP's request has missing parameters.All
103WRONG_DATA_LENGTHThe AP's request contains a DTBD message that is exceeding the max. allowed length.Signature, Receipt
104UNAUTHORIZED_ACCESSAP is not authorized to access the Mobile ID API. This is typically due to a wrong AP_ID value or missing X509 client certificate.All
105UNKNOWN_CLIENTEither the MSISDN is unknown to the MID service, or the MSISDN is an app-only user and the AP is not authorized to use the app method.Signature, Receipt, Profile
107INAPPROPRIATE_DATAThe AP's request was not accepted due to inappropriate data. Typically, the DTBD message does not contain the mandatory prefix string that is a unique string for each AP.Signature, Receipt
108INCOMPATIBLE_INTERFACEThe AP's request contains bad data. Typically, a wrong MajorVersion or MinorVersion value has been set in the request.All
109UNSUPPORTED_PROFILEEither the AP has specified an MSS signature profile value that the MSSP does not support or the AP is not authorized to use the Signature Profile.Signature
208EXPIRED_TRANSACTIONThe transaction timed out. The AP may try again.Signature, Status Query, Receipt
209OTA_ERRORA problem related to the MSSP internal Over-The-Air (OTA) communication with the Mobile ID user's SIM. Typically, there is a temporary problem with SMS communication.Signature, Status Query
401USER_CANCELThe user cancelled the request at the mobile phone.Signature, Status Query
402PIN_NR_BLOCKEDThe Mobile ID PIN of the SIM method is blocked. The user must re-activate the Mobile ID SIM card on the Mobile ID self-care portal.All
403CARD_BLOCKEDThe Mobile ID user is currently suspended. Please contact Swisscom Support.All
404NO_KEY_FOUNDThe Mobile ID user exists but is not in an active state. The user must activate the account on the Mobile ID self-care portal.All
406PB_SIGNATURE_PROCESSA signature transaction is already ongoing. Please try again later.Signature, Status Query
422NO_CERT_FOUNDThe Mobile ID user exists but is not in an active state. The user must activate the account on the Mobile ID self-care portal.All
900INTERNAL_ERRORAn internal error on MSSP has occurred. Please try again later or contact Swisscom Support, if the problem persists.All

Testing Status and Fault Codes ​

Specific MSISDNs are available to test different type of response status and fault codes. By placing a request to one of this number the related status or fault code will be raised. The following MSISDN structure is used for testing fault codes, which might help a developer to test the error handling of their Mobile ID client.

  • +41000092<faultcode> - Use one of the 3-digit fault sub-code values listed in the Fault Codes table above.

On the other hand, a successful Mobile ID signature response can be tested by using one of the two MSISDNs listed below, which might help with CI/CD pipelines that include automated regression testing with Mobile ID authentications. However, your account will require specific permissions to be able to use the test-MSISDNs for successful Mobile ID responses. Please ask your Swisscom contact if you need this permission.

  • 41700092501 – This number returns a successful Mobile ID signature response based on an EC key
  • 41700092502 - This number returns a successful Mobile ID signature response based on an RSA key

Test-MSISDN Overview ​

Request Test-MSISDNFault CodeReason MessageDetail Message
41000092101101WRONG_PARAMError among the arguments of the request
41000092102102MISSING_PARAMAn argument in the request is missing
41000092103103WRONG_DATA_LENGTHThe DataToBeSigned are too large. Limitations are due to the Mobile Signature technology implemented by the MSSP.
41000092104104UNAUTHORIZED_ACCESSThe AP is unknown, or the client authentication failed, or the AP asks for an additional service for which it has not subscribed.
41000092105105UNKNOWN_CLIENTMSISDN is unknown
41000092107107INAPPROPRIATE_DATADTBD matching failed
41000092108108INCOMPATIBLE_INTERFACEThe minor version and/or major version parameters are inappropriate for the receiver of the message.
41000092109109UNSUPPORTED_PROFILEThe user does not support this Mobile Signature Profile
41000092208208EXPIRED_TRANSACTIONTransaction Expiry date has been reached or Time out has lapsed.
41000092209209OTA_ERRORThe MSSP has not succeeded to contact the end-user's mobile equipment Bad connection...)
41000092401401USER_CANCELUser cancelled the request
41000092402402PIN_NR_BLOCKEDPIN of the mobile user is blocked
41000092403403CARD_BLOCKEDMobile user account has state INACTIVE or no SIM assigned
41000092404404NO_KEY_FOUNDMobile user account needs to be activated
41000092406406PB_SIGNATURE_PROCESSSignature request already in progress.
41000092422422NO_CERT_FOUNDCertificate is expired
41000092900900INTERNAL_ERRORUnknown Error

For example, a Profile Query request with MSISDN +41000092401 will result in a fault 401 as shown below:

json
{
    "Fault": {
        "Code": {
            "SubCode": {
                "Value": "_401",
                "ValueNs": "http://uri.etsi.org/TS102204/v1.1.2#"
            },
            "Value": "Receiver",
            "ValueNs": "http://www.w3.org/2003/05/soap-envelope"
        },
        "Detail": "User cancelled the request",
        "Reason": "USER_CANCEL"
    }
}