Add metadata XMP to PDF generated from Google Slide

How to add XMP metada to a PDF file

I need to put a metadata on a pdf file, this pdf file did generated from a Google Slide.
But XMP output an error :

Console log

The scenario was initialized.
The operation failed with an error. Exiftool returned an error: Error: Root object (3 0 obj) not found at 16 - -

Include screenshots

Thanks

Welcome to the Make community!

There is an encoding issue when downloading certain files from Google Drive.

I have mentioned more details, and a possible workaround for this here: Read text in .txt file stored in google drive - #4 by samliew

You can try using a “Convert encoding” module using the same input and output encoding, then you can use the output of this module in a subsequent module (like Parse CSV or JSON).

Alternatively, you can simply try using the toString built-in function in the mapped field, something like this:  toString(data)  – however this method doesn’t work in some cases where the encoding actually has to be converted.

2 Likes

Thanks for help, I did try but get another error :

The scenario was initialized.
The operation failed with an error. Exiftool returned an error: Error: Invalid xref table - -

The issue is fixed.
I have add a module “iLovePDF - PDF to PDF/A” and then I could add/edit XMP metadata.

3 Likes

Hi @Majid welcome to the Make Community :wave:

It’s great to hear that you managed to get this up and running :clap: Thank you very much for stepping back here and sharing your final setup with the rest of the community. We 100% appreciate it :pray:

1 Like