SAP Knowledge Base Article - Preview

3775081 - Error "javax.crypto.IllegalBlockSizeException: Data must not be longer than XXX bytes" During E-Invoicing via Manage Electronic Documents

Symptom

While generating an e-Invoice, the following error is encountered: excellonjavax.script.ScriptException: java.lang.Exception: javax.crypto.IllegalBlockSizeException: Data must not be longer than XXX bytes@ line XX inencryptData.groovy  


Read more...

Environment

  • SAP S/4HANA Cloud Public Edition
  • SAP Document and Reporting Compliance, Cloud Edition

Product

SAP Document and Reporting Compliance, cloud edition all versions ; SAP S/4HANA Cloud Public Edition all versions

Keywords

BlockSizeException, data,bytes, prepareNICRequest.groovy, line, GSTN credentials, Manage Communication Settings, e-Invoice, GSP, NIC request, Communication settings, GSTN authentication, India GST, Invoice generation failure. , KBA , CA-GTF-CSC-EDO-IN-IV , India – E-Invoice , CA-GTF-CSC-EDO-IN-EW , India – E-Waybill , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.