Skip to content

NgDP errors

If digital mail does not work due to NgDP errors, NgDP returns different error codes and messages. The error messages are written to the workflow log. See Investigate failed processes in the workflow log in the WorkZone Operations Guide.

SmartPost performs the following action depending on the type of error. The prioritized order of actions are:

  1. Notify The dispatch failed and the workflow is ended. A notification email that informs about the failed dispatch is sent to the process owner.
  2. Try next SmartPost tries to send the message to the next dispatcher in the dispatch sequence.
  3. Retry SmartPost tries to send the message through the same dispatcher once more.

If there are several errors, the action with the highest rank precedes other actions. For example, if there are two errors, and one error results in a Try next action and the other error results in a Notify action, the Notify action will be executed.

The table below lists NgDP errors at the time of this release. For an up-to-date list of errors, please refer to the documentation from the Agency for Digitisation (Digitaliseringsstyrelsen). Note that SmartPost does not display all errors from the list, for example if SmartPost does not yet support an NgDP feature, the related error messages are not used.

Error that results in SmartPost performing a Notify action. The process owner may be able to resolve some the errors in the Administrative Adgang portal.

ErrorDescription
contact.point.id.format.not.allowedThe contact point ID is invalid.
do.not.deliver.until.date.too.earlyThe "Do not deliver until date " can not be in the

past.
do.not.deliver.until.date.too.lateThe "Do not deliver until date" is too late.
empty.notification.not.allowedEmpty notification is not allowed for MeMo of the type NEMSMS.
file.empty.not.allowedOne or more of the attachments in the message are empty.
file.extension.not.allowedOne or more invalid file extensions in one or more files is not allowed
file.format.not.allowedThe file format for one or more files is not allowed. Only the following are allowed for this type of document.
file.name.invalidThe file name is invalid.
id.type.invalidInvalid ID type
memo.file.size.too.largeThe MeMo message is too large.
memo.infectedAntivirus scan has found threats.
memo.invalidInternal NgDP error
message.uuid.does.not.match.file.nameThe message UUID does not match the UUID in

the file name.
message.uuid.not.uniqueThe MessageUUID is invalid. MessageUUID must be a unique.
notification.length.over.limitNotification can not be longer than {0}
recipient.contact.point.id.requiredContact point must contain a contact point ID.
recipient.contact.point.not.allowed.for.id.typeContact point is not allowed for the recipient with this ID type.
recipient.nem.sms.is.not.allowedThe recipient of this type can not receive nem sms messages.
recipient.nem.sms.subscription.mobile.number.not.verifiedThe recipient has not verified the mobile number.
recipient.nem.sms.subscription.not.foundThe recipient does not have a NEM SMS subscription.
recipient.type.cannot.receive.legal.notificationsRecipient cannot receive legal notifications.
sender.cpr.invalidThe format of the CPR number is incorrect.
sender.cvr.invalidThe format of the CVR number is incorrect
sender.do.not.deliver.until.date.not.allowed
sender.legal.notification.not.allowedThe sender is not allowed to send legal notifications.
sender.mandatory.message.not.allowedThe sender is not allowed to send mandatory messages.
sender.not.foundThe sender does not exist.
sender.organisation.id.does.not.matchThe sender organization in the message does not match when the message was received.
sender.system.forward.not.allowedSender systems may not forward messages through Digital Post.
sender.system.is.deactivatedThe sender system was deactivated.
sender.system.is.not.activatedThe sender system has not been activated yet.
sender.system.not.foundThe sender system which was resolved when the message was received does not exist on the organization.
sender.type.not.allowedOnly authorities can send messages to recipients of this type.

The errors of this type occur when the recipient is not able to receive Digital Post. SmartPost tries to send the message to the next dispatcher in the dispatch sequence.

Error Description
recipient.cpr.invalid The format of the CPR number is incorrect.
recipient.cvr.invalid The format of the CVR number is incorrect.
recipient.is.closed The citizen cannot receive Digital Post 2.
recipient.is.exempt The citizen is exempted from Digital Post 2.
recipient.mailbox.and.default.recipient.system.not.found The recipient does not have a mailbox or default recipient system.
recipient.mailbox.not.found The recipient does not have a mailbox.
recipient.not.found The recipient does not exist.
ErrorDescription
wz.ngdp.connect.errorThis is a WorkZone error code. The error occurs when WorkZone cannot connect to NgDP due to connectivity issues.
Error code 429 -Too many requestsNgDP returns this error code when the DIGST (Digitaliseringsstyrelsen) server is overloaded.

SmartPost attempts to resend the message. Initially, it waits one second before retrying, and then continues to double the waiting time between each subsequent attempt as long as the server keeps returning the 429 error, until the waiting time exceeds 15 minutes. Eventually SmartPost fails with an exception that contains the 429 error code, which will appear in the SmartPost history document.