Skip to main content

Keeping getting the following error message - Overdue_Emailer: The file 'C:\\ProgramData\\Safe Software\\FME Server\\repositories\\GIS\\Test send Email/Overdue.xlsx' could not be found. It is required to form the content of the attachment Overdue.xlsx

 

Works space created in workbench and published to server. Works fine if a run from workbench and I can see the .xlsx files that are the attachment in fme server repository but still getting an error

Is the Overdue.xlsx written as part of the workspace that also sends the email? Is it written in the repository folder?

Writing to the repository folder is not recommended, can you try writing it to the the $FME_SHAREDRESOURCE_TEMP folder instead? (there's a parameter already available for that).


Sorry I meant It is written to a resource folder (not repository), I'll try the $FME_SHAREDRESOURCE_TEMP approach


Is the Overdue.xlsx written as part of the workspace that also sends the email? Is it written in the repository folder?

Writing to the repository folder is not recommended, can you try writing it to the the $FME_SHAREDRESOURCE_TEMP folder instead? (there's a parameter already available for that).

That worked, not sure why it didn't like using the resource folder that I have linked, as I can see the files in this folder through resources.

Nonetheless, changing the folder it was writing the file to before inclusion in the email worked.

 

Thank you


Hi,

I tried to use your tip with using FME Flow 2024.1.1. I saved the HTML Report (which should be the attachment in email) on $FME_SHAREDRESOURCE_TEMP. But it is still wrong - I have the same error Emailer: The file 'C:\ProgramData\Safe Software\FMEFlow\resources\system\temp\engineresults\FME_06414B2D_1729880881872_3216.zip\/Demo/Output/25.10.2024_A.html' could not be found. It is required to form the content of the attachment 25.10.2024_A.html

 

Any ideas how I can solve this? Emailer in FME Form is works fine, but when I published script on FME Server (installed on my local computer) I get the error as above.


Hi @ka_bork

It looks like you're trying to pull the HTML report directly from the engine results folder. Could you clarify which service is being used to run the job (e.g., job submitter, data streaming, etc.)?

Also, is the emailer part of the workspace that generates the HTML report? I’m wondering if the emailer might be attempting to send the report before it’s actually saved in the engine results folder.

 

-Dylan


Reply