On Slides I am frequently getting Gateway Timeout Error on some files, does it have to do something with size? as most common culprits are PPTX with more than 100 slides.
And Aspose API logs show status 200 for the API call
On Slides I am frequently getting Gateway Timeout Error on some files, does it have to do something with size? as most common culprits are PPTX with more than 100 slides.
And Aspose API logs show status 200 for the API call
@naifalhassoun,
Thank you for contacting support.
To investigate the case and help you, we need more details. Please share the following files and information:
Please also note that you can use asynchronous conversion API for large files.
More details: Track Conversion Status|Documentation
public function powerpointToPDF($file, $phone, $code)
{
$config = new Configuration();
$api = new SlidesApi(null, $config);
$result = $api->Convert(
fopen(
"storage/app/public/WhatsApp_Files/" . $phone . "/" . $file,
"r"
),
ExportFormat::PDF
);
if (
!File::isDirectory(public_path("/storage/WhatsApp_Files/" . $phone))
) {
File::makeDirectory(
public_path("/storage/WhatsApp_Files/" . $phone),
0755,
true,
true
);
}
file_put_contents(
public_path(
"storage/WhatsApp_Files/" . $phone . "/" . $code . ".pdf"
),
$result->fread($result->getSize())
);
$name = asset("public/storage/WhatsApp_Files/$phone/$code.pdf");
return $name;
}
here is the code and the file can be downloaded from here نظم الرقابة الدخلية.pptx - Google Slides
@naifalhassoun,
Thank you for the code example and sample presentation file. I reproduced the problem you described.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): SLIDESCLOUD-1944
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.