Skip to main content
Participating Frequently
September 1, 2021
Question

PDF Service API ServiceApiException....The zip file provided has invalid content. statusCode=400

  • September 1, 2021
  • 0 replies
  • 355 views

I am able to run the sample project. I have created another zip archive of HTML file and other dependency files like CSS and js and pass it to the CreatePDFFromDynamicHTML.java file to create a PDF after executing

 mvn -f pom.xml exec:java -Dexec.mainClass=com.adobe.pdfservices.operation.samples.createpdf.CreatePDFFromDynamicHTML command it gives an error 

 

description ='The zip file provided has invalid content.; transactionId=kNWylwnmtNDbJf9ERkbjuE1Ou62467uv'; requestTrackingId='ZDdG1zgw5sKjMdnEGjvV8PAdUlJwwwNO'; statusCode=400; errorCode=INVALID_ZIP

 

 

How to resolve this? 

 

This topic has been closed for replies.