link

# Common mistakes

This page lists best practices and highlights some common mistakes and pitfalls

# Documents have a limited lifetime

Because of GDPR we only store documents for a limited time before they are automatically deleted. You should make sure you download all the signed files before they disappear from our system. When they are deleted we cannot restore them.

Read more about document lifetime and how to retrieve files.

# By default the signature is saved asynchronously

In order to make the end-user experience better, the signature data / files is saved and processed asynchronously after the signature has been collected. This means that the document status, packaged files, pades and more might not be ready immediately after the signer is redirected from our application.

Use our notification API to be notified with webhooks or a service bus message when the document is ready.

# If you can't subscribe to webhooks

# Alternative 1

The following will only work if you have a single signer per document:

Let the signer wait for all files to be ready. The files can then be downloaded directly after the signer is redirected, or after you receive the sign success web message. Contact us at support@signicat.com to enable this feature.

# Alternative 2

Check if the document is ready by calling the document status endpoint. In the response you will see all the completed packages and if the document is signed.

GET /documents/{documentId}/status

Response sample

{
  "documentStatus": "signed",
  "completedPackages": [
    "standard_packaging",
    "pades"
  ],
  "attachmentPackages": {}
}
Last updated: 31/10/2023 19:59 UTC