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

Free Support Forum - groupdocs.cloud

How to Convert PDF to PPT in Node.js using GroupDocs.Conversion REST API?

Hi all,

I just started using the api so I’m using the code samples. I’ve uploaded a PDF file to internal storage however I am not able to convert the PDF to a PPTX. I am however able to convert the PDF to DOCX but when I change the format to PPTX (as in the example) I get the following error:

{ message: ‘Parameter is not valid.’, code: ‘internalError’ }


As suggested in your other post, please double check that you have set the default storage value in your groupdocs.cloud application. I have used the following code to convert PDF to PPT/PPTX in Node.js with GroupDocs.Conversion REST API and unable to notice any issue. Hopefully, this code will help you to convert PDF to PPTX.

However, if you still face the issue then please share your sample code along with the credentials in a private message. For a private message, please click on my user icon and opt the message tab with the required information. Kindly remove “RE:” from the title as well. We will investigate the issue and will update you.

Steps to Convert PDF to PPTX Node.js Online

  1. Install GroupDocs.Conversion Cloud Node.js SDK package from NPM
  2. Create a script code file and import the GroupDocs.Conversion REST API
  3. Initialize GroupDocs.Conversion REST API with groupdocs.cloud credentials
  4. Use ConvertDocumentRequest and convertDocument Object to convert PDF to PPTX

Sample PDF to PPTX Node.js Converter REST API Code

// load the module
var GroupDocs = require('groupdocs-conversion-cloud');
var fs = require('fs');

// get your clientId and clientSecret at https://dashboard.groupdocs.cloud (free registration is required).
var clientId = "xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx";
var clientSecret = "xxxxxxxxxxxxxxxxxxxxxxxxxxx";

//Convert PDF to PPTX Node.js
const convertPDFtoPPTXNode = async () => {

// Intialize GroupDocs.Conversion REST API
const convertApi = GroupDocs.ConvertApi.fromKeys(clientId, clientSecret);

// Creaet ConvertSetting Object
const settings = new GroupDocs.ConvertSettings();
//settings.storageName = "PDF-PPTX";
settings.filePath = "Test.pdf";
//settings.format = "ppt";
settings.format = "pptx";
settings.outputPath = "PDFtoPPTX.pptx";

try {
const request = new GroupDocs.ConvertDocumentRequest(settings);
await convertApi.convertDocument(request);
} catch (err) {
throw err;

.then(() => {
console.log("PDF document converted successfully");
.catch((err) => {
console.log("Error occurred while converting the PDF document:", err);


Thank you for the quick support.

I have only configured the one storage and it is assigned to my application. I’ve PM’d the sample code to you.

Thank you!


It seems your credentials are not correct. Please double check the credentials from your application from groupdocs.cloud dashboard and share again via private message.