Free Support Forum -

DOCX to PDF conversion issue with Aspose.Words Cloud API

I followed the examples and uploaded a file to test

I uploaded this file in the default storage
using following request to check if it exists

I just get 404

This message was posted using Email2Forum by Tahir Manzoor.

Hi there,

Thanks for your inquiry. I have tested the scenario using your App SID and Key and have not found the shared issue. I have attached the output Pdf file with this post for your kind reference. Please read following documentation links.

Convert Word to Images, Multipage TIFF, HTML, PDF and other File Format using Cloud Storage
Convert Word to other File Formats without using the Cloud Storage

Thanks for the quick response.

I managed to resolve that and conversion is working fine. Now the issue I ran into is related to storage.

When I use this code:

$strURI = "";
$signedURI = Sign($strURI, $appSID, $appKey);
echo(uploadFileBinary($signedURI, $fileName));

I get the following error

Invalid Amazon S3 file path 4702/1e6af3c1-0983-499b-9a1a-aa114e77124c/

Hi there,

Thanks for your inquiry. Please supply the file name in strURI with full path where you want to upload the file. Please read following documentation link for your kind reference.