we use aspose to convert pdf to xl. im trying to check why its not working in the last time and in API request on postman i see that the response got after 5 minutes!! what happenned?
It’s a different problem every time
We can’t work like that
Are you using Aspose.PDF Cloud API? Can you please share the code snippet and the sample file for our reference? We will test the scenario in our environment and address it accordingly.
Below is the Postman code (I initially requested authorization, and it was successfully granted):
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api.aspose.cloud/v3.0/pdf/convert/xls?outPath=result.xls',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'PUT',
CURLOPT_POSTFIELDS => array('client_id' => '****','client_secret' => '******','sample.pdf'=> new CURLFILE('3vEa6sMl0/טורנהיים.pdf')),
CURLOPT_HTTPHEADER => array(
'Authorization: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE3MDUzODc1MTksImV4cCI6MTcwNTM5MTExOSwiaXNzIjoiaHR0cHM6Ly9hcGkuYXNwb3NlLmNsb3VkIiwiYXVkIjpbImh0dHBzOi8vYXBpLmFzcG9zZS5jbG91ZC9yZXNvdXJjZXMiLCJhcGkuYmlsbGluZyIsImFwaS5pZGVudGl0eSIsImFwaS5wcm9kdWN0cyIsImFwaS5zdG9yYWdlIl0sImNsaWVudF9pZCI6ImZkNjFkODY4LWUzOWItNDJhYy1iN2YwLTE0YjcyODI0NjMzYiIsImNsaWVudF9kZWZhdWx0X3N0b3JhZ2UiOiJhMzAzZjBkYS04Mjg2LTQyMjgtOTMzYy1kNWQ0OTE3ZDIzODIiLCJjbGllbnRfaWRlbnRpdHlfdXNlcl9pZCI6Ijk4MDA4OCIsInNjb3BlIjpbImFwaS5iaWxsaW5nIiwiYXBpLmlkZW50aXR5IiwiYXBpLnByb2R1Y3RzIiwiYXBpLnN0b3JhZ2UiXX0.kLZfq8XfrA_rSOgVMVsZ6TDC_GfEXTW4UhWz3uZ6ibGmjtLYISdMakw8uGDzxozz3rBjkn4NOqiuSyR8ojXf54lWBRpCWduCPVKw2n7isVPNDbS8nrkVRKbDwVGnZmZkP870f1YL6xVGJZJ_0TbFhL1T5b9LJvBXwKyRQDxocR9r-A7CjR_TtPPjGLwoMwe3G744EVqxE7O26QAl_xhe0Qx1lr6PjqKrVXCgSgYOw-5eIU_3ePNOpG6GCPIrZ_NgEV7hEWtzvTG7E4-vSau4dzHFlV8jhnksXN5lFj1MtdyjZ0wsgHe6NsBz2twFtNM3Z7iy1ze89JxmlfD1zXuPrA',
'Cookie: .Prj.Customer=2245c141-a7ee-46bc-853a-f50e5b9b4a4d; AWSALB=ZPcQUmhdzlwShxRycr45hYyYmsZJLtvA2iqgAe2XgRI/LXcopEubM0IMAtJqAOWTelEgiPFo9k8gKbwhc2xJ6B3Woso1tQ155ZChlgLQh49EaIMGc8RRviIa9rUG; AWSALBCORS=ZPcQUmhdzlwShxRycr45hYyYmsZJLtvA2iqgAe2XgRI/LXcopEubM0IMAtJqAOWTelEgiPFo9k8gKbwhc2xJ6B3Woso1tQ155ZChlgLQh49EaIMGc8RRviIa9rUG'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
The files I worked with are confidential, but they were simple PDF files ranging from 200 to 700 KB in size.
I will provide another example file.
If I can send you the confidential file privately, that would be great.
כלקלות-אקסל-תקציב-לדוגמא.pdf (230.0 ק״ב)
כלקלות-אקסל-תקציב-לדוגמא.pdf (230 KB)
We are sorry for the inconvenience. Today we have some issues with the storage API. It is fixed now. Please let us know if you are still facing the issue.