We're sorry AsposeCloud doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.cloud

Convert PDF to Microsoft Excel With cURL Throws Object Reference Not Set Exception

I have been facing this issue intermittently. Sometimes this happens other time it does not

@liatamir

I tried to convert PDF to Microsoft Excel with cURL command with my sample PDF documents using Aspose.PDF REST API. And I am unable to reproduce your reported issue. Please share your input document along with the sample code. We will test the scenario and will guide you accordingly.

Convert PDF to XLSX Online

# First get Access Token
# Get Customer Key and Customer ID from https://dashboard.aspose.cloud/
curl -X POST "https://api.aspose.cloud/connect/token" 
-d "grant_type=client_credentials&client_id=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx&client_secret=xxxxxxxxxxxxxxxx" 
-H "Content-Type: application/x-www-form-urlencoded" 
-H "Accept: application/json"

# Convert PDF to Excel
curl -X GET "https://api.aspose.cloud/v3.0/pdf/02_pages.pdf/convert/xlsx" 
-H "accept: multipart/form-data" 
-H "authorization: Bearer [Access_Token]"