BOT: Generating PDF fails due to System.Drawing.Common

Hi all,

Yesterday evening I saw this error for the first time and today it has occured 5 times.

Error encountered in step with name [Generate PDF]: Error: Task: 'Task for Generate PDF' Template Type: 'Body' could not be read due to System.Drawing.Common is not supported on this platform.

01.png

I haven't of System.Drawing.Common before so I've spent some time on google, and if I understand, correct, it is a .NET library commonly used for graphics and image processing. 

What can I do about that? I dont get it? 

In my template file, there are 2 small pictures

02.png

Are those the problem and causing System.Drawing.Common error?

The app is creating an average of 30-40 parking permits pr. day. 
Is it too much and causing the error?

There is no pattern when the error occurs. 
The app is very simple - It's possible to choose language, add numberplate and if you have pause.
When this info is saved, the bot starts creating the PDF with the template you see above.

It is not possible to add e.g. pictures in the form. It's basic text and same template used to generate pdfs each time.

If this System.Drawing.Common is something that it requires, why can the app/bot run for days but today on/off? 

Solved Solved
0 6 415
1 ACCEPTED SOLUTION


@Surdusvacca wrote:

Hmm it still happens now and then with the same error.


I don't have an explanation.   I can only suggest at this popint to open a Support ticket to AppSheet.

I'm sure this is probably unrelated...there was an email that came out today and there is an AppSheet post (link below) that file URL's will not be allowed any longer.  If you are using a Google DRive URL to your image, I wonder if that might be what's causing the problem?

https://www.googlecloudcommunity.com/gc/Announcements/Action-required-Drive-download-URLs-for-embedd...

 

 

View solution in original post

6 REPLIES 6
Top Labels in this Space