Error de Formato de Imagen, que no permite generar PDF desde el BOT

Buenas tardes,

En todas mis aplicaciones donde se Genera PDF con BOT, me esta apareciendo el siguiente error:

Error 1 : Task: ‘Task for PDF_WIF DESPACHO’ Template Type: ‘Body’ could not be read due to Could not load type ‘SixLabors.ImageSharp.Formats.Jpeg.JpegEncodingColor’ from assembly ‘SixLabors.ImageSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=d998eea7b14cab13’

Alguien me puede indicar si estan teniendo inconvenientes con la generación de PDF’s.

Muchas Gracias.

Hola @Junnior_Garcia,

Me temo que vamos a necesitar la ayuda del equipo de soporte. Mi recomendación es Habilitar el acceso a tus aplicaciones para que puedan hacer su análisis.

¿Ya pudiste solucionarlo? Tengo exactamente el mismo problema y no me permite generar pdf’s y es vital para mi operación. Segun Gemini es un error de los servidores de google

ACTUALIZACIÓN: Ya pude solucionarlo, en mi caso funcionó retirar todos los logos del documento template que genera el pdf. Visualmente rompe con el membrete y la estética de los documentos finales, pero (por ahora) me permite continuar con mi operación, probablemente sea un problema directo de los servidores de google. Esperemos a una actulización.

Te recomiendo que hagas una copia del bot donde lo vincules a un documento template copia sin logotipo o gráficos, para no tengas que alterar tus documentos ni bots originales en caso de que en el futuro lo puedan reparar y funcione como antes

One of the app suites that I develop and maintain are also facing the issue. the PDFs are not getting generated with exactly the same error.

The organization that uses those apps depends on the PDF based reports that are sent out to its customers. The number of reports on a daily basis can be less but as we can imagine, the timeliness of sending those reports is critical for that organization. . So situation is very urgent.

This is an internal error that AppSheet must fix. The best way to motivate that fix is to engage Support.

Hi Steve,

Thank you.

Now that Jose is in the communication loop, I am sure he will take it up with the development team and the team in turn will address it on priority.

I have myself very seldom engaged with the support team.:slightly_smiling_face:

The reason being my own issues are mostly solved in the community by colleagues like you , Aleksi and others.

For these larger internal to AppSheet issues, I am mostly co-owner of the app and that complicates approaching support.

Hello all,

Yeah, the fact that two or more people are having the same issue confirms it is something with the system.

@Fer_Lopez and @Junnior_Garcia , I’m sending you PMs separately to get information I need to report this problem

I have escalated this issue to the support and engineering team.

I will keep you posted on this thread.

Hello all,

The engineering team has identified an issue on our side affecting automations that use Microsoft Word (.docx) templates containing images (such as logos or signatures). It isn’t caused by any change to your app, and our engineering team is working on a fix.

In the meantime, you can keep your automations running with the following workaround:

Convert your template to Google Docs format

  1. Open the template file in Google Drive.
  2. Click File → Save as Google Docs. This creates a Google Docs copy next to the original .docx. In the AppSheet editor, open the affected bot and go to the task (for example, Send an email or Create a new file).
  3. In the Attachment template and/or Body template field, select the new Google Docs file instead of the .docx.
  4. Save the app, then trigger the bot again to confirm the document is generated.

Please review the generated output once, because the layout may differ slightly after conversion (for example, fonts, spacing or image position).

If you’d prefer to keep the Word template for now, removing the images from the .docx also lets the bot run until the fix is available.

It already is in google docs format. I also created a new copy in google docs, still same error though.

Quick update:

The engineering team has identified this as a platform-level issue and is currently deploying a fix.

As of yesterday evening, the engineering team confirmed that the issue has been successfully resolved.

Summary of the Incident: AppSheet users experienced automation failures during PDF generation when using Microsoft Word (.docx) templates containing images. This was caused by a platform-level assembly error, which the engineering team investigated and patched.