Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Error codes for locally built mobile apps

Updated on September 6, 2019

The following table lists error codes that might be returned when you build a mobile app locally.

ErrorError codeError message
SUCCESS0Success.
UNKNOWN1Unknown.
MOBILE_PROVISIONING_FILE_MISSING2000The mobile provisioning file does not exist. The error message is returned with one field that contains the name of the missing file: "{0} mobile provisioning file not exists".
CERTIFICATE_FILE_MISSING2001The certificate file does not exist. The error message is returned with one field that contains the name of the missing file: "{0} certificate file not exists".
MOBILE_PROVISIONING_INVALID2002The mobile provisioning file is invalid. The error message is returned with one field that contains the name of the invalid file: "{0} invalid mobile provisioning file".
INVALID_PASSWORD2003The certificate password is invalid.
INVALID_CERTIFICATE2004The certificate file is invalid. The error message is returned with one field that contains the name of the invalid file: "{0} invalid certificate file".
KEYCHAIN_FILE_EXIST2005Unable to create the keychain file, because the file already exists. The error message is returned with one field that contains the name of the existing file: "Unable to create keychain file {0} already exist".
KEYCHAIN_ADD_TO_SEARCH_LIST_EXIT_CODE2006Adding the keychain to the search list failed (exit code). The error message is returned with one field that contains the exit code: "Add keychain to search list failed with exit code {0}".
KEYCHAIN_ADD_TO_SEARCH_LIST_EXCEPTION2007Adding the keychain to the search list failed (reason). The error message is returned with one field that contains the cause of the failure: "Add keychain to search list failed. Reason {0}".
KEYCHAIN_CREATE_EXIT_CODE2008Creating the keychain failed (exit code). The error message is returned with one field that contains the exit code: "Create keychain failed with exit code {0}".
KEYCHAIN_CREATE_EXCEPTION2009Creating the keychain failed (reason). The error message is returned with one field that contains the cause of the failure: "Create keychain failed. Reason {0}".
KEYCHAIN_FILE_NOT_EXIST2010Unable to delete the keychain file, because the file does not exist. The error message is returned with one field that contains the name of the missing file: "Unable to delete keychain file {0} already not exist".
KEYCHAIN_DELETE_EXIT_CODE2011Deleting the keychain failed (exit code). The error message is returned with one field that contains the exit code: "Delete keychain failed with exit code {0}".
KEYCHAIN_DELETE_EXCEPTION2012Deleting the keychain failed (reason). The error message is returned with one field that contains the cause of the failure: "Delete keychain failed. Reason {0}".
KEYCHAIN_UNLOCK_EXIT_CODE2013Unlocking the keychain failed (exit code). The error message is returned with one field that contains the exit code: "Unlock keychain failed with exit code {0}".
KEYCHAIN_UNLOCK_EXCEPTION2014Unlocking the keychain failed (reason). The error message is returned with one field that contains the cause of the failure: "Unlock keychain failed. Reason {0}".
KEYCHAIN_IMPORT_EXIT_CODE2015Importing the certificate to the keychain failed (exit code). The error message is returned with one field that contains the exit code: "Import certificate to keychain failed with exit code {0}".
KEYCHAIN_IMPORT_EXCEPTION2016Importing the certificate to the keychain failed (reason). The error message is returned with one field that contains the cause of the failure: "Import certificate to keychain failed. Reason {0}".
KEYSTORE_CREATE_EXCEPTION2017Unable to create the keystore (reason). The error message is returned with one field that contains the cause of the failure: "Create keystore failed. Reason {0}".
SINGLE_CERTIFICATE_EXPECTED.2018A single certificate expected.
INVALID_CERTIFICATE_TYPE2019The certificate type is invalid – expected X.509. The error message is returned with one field that contains the type of the provided certificate: "Invalid certificate type. Expected X.509 but was {0}".
P12_NO_CERTIFICATE2020The P12 file does not contain the certificate.
P12_NO_PRIVATE_KEY2021The P12 file does not contain the private key.
P12_INVALID_KEY_TYPE2022The key type in the P12 file is invalid – expected an RSA private key. The error message is returned with one field that contains the type of the provided key: "Invalid key type in P12 file. Expected RSA private key but was {0}".
NOT_CODE_SIGN_USAGE_PURPOSE2023The certificate cannot be used for signing the code.
CERTIFICATE_EXPIRED2024The certificate has expired. The error message is returned with one field that contains the expiration date: "Certificate has expired {0} (YYYY-MM-DD)".
CERTIFICATE_BEFORE_START2025The certificate is before the start date. The error message is returned with one field that contains the start date: "Certificate is before start date {0} (YYYY-MM-DD)".
MOBILE_PROVISIONING_NO_PREFIX2026The mobile provisioning file is invalid. The application identifier prefix cannot be retrieved.
MOBILE_PROVISIONING_EXPIRED2027The mobile provisioning file has expired. The error message is returned with one field that contains the expiration date: "Mobile provisioning file has expired {0} (YYYY-MM-DD)".
INVALID_IOS_CERTIFICATE_NO_SUBJECT2028Expected an iOS platform code signing certificate. The certificate subject is missing.
IOS_CERTIFICATE_MOBILE_PROVISIONING_MISMATCH2029The iOS platform code signing certificate does not match any developer certificates in the mobile provisioning file.
INVALID_BUNDLE_IDENTIFIER2030The bundle identifier is invalid. The error message is returned with one field that contains the invalid identifier: "Invalid bundle identifier {0}".
BUNDLE_IDENTIFIER_NOT_MATCHING_MOBILE_PROVISIONING2031The bundle identifier does not match the specification in the mobile provisioning file. The error message is returned with one field that contains the invalid identifier: "Bundle identifier {0} not matches specification in mobile provisioning".
INVALID_IOS_CERTIFICATE_INVALID_SUBJECT2032Expected iOS platform code signing certificate. The certificate subject structure is invalid.
INVALID_IOS_CERTIFICATE_NO_OU2033Expected iOS platform code signing certificate. The organizational identifier is missing.
INVALID_IOS_CERTIFICATE_NO_CN2034Expected iOS platform code signing certificate. The CN identifier is missing.
KEYSTORE_FILE_EXIST2035The keystore file already exists. The error message is returned with one field that contains the name of the existing file: "Keystore file {0} already exist".
KEYSTORE_PERSISTENCE_ERROR2036Unable to persist the keystore (reason). The error message is returned with one field that contains the cause of the failure: "Unable to persist keystore. Reason {0}".
FILE_NOT_EXIST2037The file does not exist. The error message is returned with one field that contains the name of the file: "File {0} not exist".
DIR_EXPECTED2038Must be a directory. The error message is returned with one field that contains the name of the directory: "{0} must be directory".
FILE_EXIST2039The file already exists. The error message is returned with one field that contains the name of the file: "File {0} already exist".
LACK_OF_MANDATORY_BUILD_PARAMETER2040A mandatory build parameter is missing. The error message is returned with one field that contains the name of the missing parameter: "Lack of mandatory build parameter {0}".
MALFORMED_PROPERTIES_FILE2041Malformed properties file. The error message is returned with one field that contains the name of the file: "Malformed properties file {0}".
LACK_OF_MANDATORY_JOB_PROPERTY2042A mandatory build job property is missing. The error message is returned with one field that contains the missing property: "Lack of mandatory build job property {0}".
UNSUPPORTED_CONFIG_VERSION_OF_DEVICE_AGENT2043An unsupported config version of the device agent has been set in the job build properties file. The error message is returned with one field that contains the version of the agent: "Unsupported config version of device agent {0} has been in job build properties".
CUSTOMIZATION_ZIP_EMPTY_OR_NOT_PROVIDED3000The customization.zip file is empty or missing.
CUSTOMIZATION_ZIP_MISSING_MANDATORY_RESOURCES3001The customization.zip does not contain mandatory resources. The error message is returned with one field that contains missing resource(s): "Customization zip does not contain mandatory resources {0}".
CUSTOMIZATION_PROPERTIES_MISSING_REQUIRED_PROPERTIES3002The customization.properties file does not contain mandatory parameters. The error message is returned with one field that contains the missing mandatory parameters: "customization.properties file does not contain mandatory parameter(s) {0}".
CUSTOMIZATION_PROPERTIES_INVALID_VALUE3003A property defined in the customization.properties file has invalid value. The error message returns two fields that contains the incorrectly configured property and its value: "Property {0} defined in customization.properties has invalid value {1}".
CUSTOMIZATION_PROPERTIES_CERTIFICATE_PASSWORD_MISSING3004Integrity of custom certificate: missing certificate password. The error message is returned with one field that contains the name of the property that should be used to set the password: "Integrity of custom certificate. Lack of certificate password. Use {0} property".
CUSTOMIZATION_ZIP_CUSTOM_CERTIFICATE_INTEGRITY3006Integrity of custom certificate: missing file. The error message is returned with two properties that contains the names of the provided and missing files: "Integrity of custom certificate. Provided file {0} but lack of file {1}".
CUSTOMIZATION_PROPERTIES_UNSUPPORTED_KEY3007Unsupported property key. The error message is returned with one field that contains the unsupported key: "Unsupported property key {0}".

Related articles

Building a mobile app locally

Tags

Pega Mobile Client Mobile Pega Express Communications and Media Consumer Services Financial Services Government Healthcare and Life Sciences Insurance Healthcare and Life Sciences Manufacturing Consumer Services Consumer Services

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us