Hello,
We’re using the aspose_slides_cloud ruby gem. When trying to convert from pdf to pptx to retrieve the file, it gives a 401. Example code:
#Use a PDF Document|Documentation
require 'aspose_slides_cloud'
configuration = AsposeSlidesCloud::Configuration.new
configuration.app_sid = "id"
configuration.app_key = "key"
slides_api = AsposeSlidesCloud::SlidesApi.new(configuration)
pdf_data = File.binread("company-risk.pdf")
options = AsposeSlidesCloud::PdfImportOptions.new
options.detect_tables = false
response = slides_api.import_from_pdf("company-risk.pptx", pdf_data, options, nil, "files", "ethos_pptx")
puts response.self_uri.href
=> "https://api.aspose.cloud/v3.0/slides/company-risk.pptx?folder=files"
Screenshot 2024-06-19 at 11.38.28 AM.png (102.8 KB)
Please help as a priority.
Screenshot 2024-06-19 at 11.38.28 AM.png (38.2 KB)