Convert Document to Text Returning Error

Hello,

AI Action "Convert Document to Text" is not working anymore and returning this error:
require() of ES Module /retool/node_modules/.pnpm/pdfjs-dist@4.4.168_patch_hash=7ugbpoxucioh5e225slgkisyaq/node_modules/pdfjs-dist/build/pdf.mjs not supported. Instead change the require of /retool/node_modules/.pnpm/pdfjs-dist@4.4.168_patch_hash=7ugbpoxucioh5e225slgkisyaq/node_modules/pdfjs-dist/build/pdf.mjs to a dynamic import() which is available in all CommonJS modules."

Can anyone help with the above?

Thanks,
Pierre

1 Like

Same here!

1 Like

Can't help but I'm getting the same error.

1 Like

Hey all! Thanks for flagging this issue so quickly. :raised_hands:

We noticed the influx of reports and pushed out a fix about 20 minutes ago. You should be able to refresh and have this functionality restored!

3 Likes

Thanks for the quick fix @Darren! :pray:t2: