How can I use the PDF Service API with SharePoint Online as external storage (not PowerPlatform)? Hello everyone,I have a free tier of the PDF service and have successfully converted Word documents via the REST API by using the internal (adobe) storage (with Postman). Now I wanted to convert a document from SharePoint Online using JavaScript and fetch command. The query looks like this:fetch('https://pdf-services-ew1.adobe.io/operation/createpdf', {
method: "POST",
headers: {
"Authorization": token,
"x-api-key": apiKey,
"Content-Type": "application/json",
},
body: JSON.stringify({
input: {
"uri": "https://mytenant.sharepoint.com/documents/MyDoc.docx",
"storage": "SHAREPOINT"
}})
}); I get the following answer: {
"error":
{
"code":"BAD_PARAMS",
"message":"Not able to infer an input media type. Check the provided input and try again."
}
} I assume that it is an error that the Sevrice cannot simply access the file, because logically it has no access. The question I have is, what do I have to do so that the PDF service can read this file?