Azure Logic Apps · AS2
processed/Error: decryption-failed
Short answer
This Azure Logic Apps AS2 error means an AS2 message or a Message Disposition Notification (MDN) could not be decrypted. For an AS2 message, apply the @base64ToBinary() function to the AS2Message before sending the message to the trading partner.
VerifiedLast verified
01Error text
[processed/Error: decryption-failed]02Likely causes
- The AS2 message or the MDN was sent without converting its content from base64 to binary.
03How to fix it
- For an AS2 message, apply the
@base64ToBinary()function to the AS2Message before sending the message to the trading partner. - For an MDN, apply the
@base64ToBinary()function to the MDN before sending the notification to the partner.
04Official documentation
→Related errors
- Invalid AS2 headersThis Azure Logic Apps error means a received AS2 message did not contain the AS2-From header, the AS2-To header, or both. Check the AS2 message headers for AS2-From and AS2-To, and correct them based on your agreement setup.
- The request content is null or emptyThis Azure Logic Apps AS2 error means a received AS2 message did not contain a message body. Make sure that a message body exists.
- The Signing Certificate has not been configured for AS2 partyThis Azure Logic Apps AS2 error means the AS2 agreement has no certificate set for the signature. Set the AS2 agreement settings with the correct certificate for the signature.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Azure Logic Apps work:Open Azure Logic Apps jobsAzure Logic Apps rates and salaries