Skip to main content

Error codes

onErrorOccurred receives an error code, a constant of MobbSignResultCodes, and a map with the details of the error:

mobbSignView.setOnErrorOccurredListener((errorCode, errorDetails) -> {
switch (errorCode) {
case MobbSignResultCodes.ERROR_LICENSE_INVALID:
// …
break;
default:
// …
}
});
CodeCauseWhat to do
ERROR_ACQUIRING_SIGNATURE (1)The signature is shorter than the minimum length and has been discarded.Ask the signer to sign again.
ERROR_LICENSE_INVALIDThe license is not valid or has expired.Check the license key and the application ID. Contact Mobbeel to renew it.
ERROR_MANDATORY_PARAMSA mandatory parameter is missing, such as the encryption key.Check the configuration.
ERROR_VISUALIZING_DOCUMENTThe document cannot be displayed.Check that the file is a valid PDF.
ERROR_DOCUMENT_IS_NOT_COMPLETELY_FILLEDThe document has required form fields that are empty.Ask the user to fill in the form.
ERROR_SAVING_FORM_FIELDSThe form fields could not be saved.Retry the operation.
ERROR_CANNOT_SIGN_EDITABLE_DOCUMENTThe document has unsaved changes in its form fields.Call saveForms() before signing.
ERROR_STAMPING_SIGNATUREThe signature could not be added to the document.Retry the signature.
ERROR_STAMPING_SIGNATURE_DATAThe signature data could not be added to the document.Retry the signature.
ERROR_TIMESTAMPThe timestamp could not be obtained from the time-stamping server.Check the URL and the credentials of the timestamp server.
ERROR_CUSTOMIZATION_PROPERTYA property of the customisation bundle is not valid.Check the key and the type of the value.
ERROR_SIGNATURE_NOT_VERIFIEDSigner verification: the signature does not match the signer.The document is not signed.
ERROR_VERIFYING_SIGNATUREThe signer verification could not be completed.Retry the signature.
ERROR_VERIFICATION_MODULE_NOT_PRESENTThe SDK does not include the signer verification module.Contact Mobbeel.