Getting "index.html doesn't exist in archive" when creating PDF from static html
I am extremely frustrated at this point. There must be an absolute gaping hole in the documentation and examples for this. I am using pdfservices-sdk version 3.5.1. I then followed this example from the ADOBE website.
However, no matter what I do I get this error
com.adobe.pdfservices.operation.exception.ServiceApiException: description ='index.html doesn't exist in archive.; requestId=341e7228-c0f5-4d5f-8fe2-bb1cd2a85587'; requestTrackingId='341e7228-c0f5-4d5f-8fe2-bb1cd2a85587'; statusCode=400; errorCode=MISSING_INDEX_HTML
at com.adobe.pdfservices.operation.internal.api.PlatformApi.statusPoll(PlatformApi.java:115)
at com.adobe.pdfservices.operation.pdfops.CreatePDFOperation.execute(CreatePDFOperation.java:209)
The error is utter nonesense. I have created the most basic barebones example and it still tells me the file doesn't exist. It seems impossible. I mean the example I'm using its absolutely stripped down and matches to the T the requirements. I have a 1Kb file named
index.htmlwith the following content
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test</title>
</head>
<body>
<h1>TEST</h1>
</body>
</html>i then zip it and plug in the path to the example and I get that error. It's one of those things thats so egregious and inexplicable ive got no idea where I would even go from here. Any help would greatly, greatly be appreciated.
