Data app sending a file stored in space via email error

I have a Data App that asks for the user email, prepares a file that is stored in the space with a hub connector with application password and a space connector connected to the excel writer.
I want to also send the file via email with the file attached.
Currently the data app is working fine for consumer users until the Send Email node which fails with error message saying cannot access the file.

In every ad hoc run executed by me the file is successfully sent by email.

When the consumer executes the app there’s always a error in the Send Email node related to not being able to access the file.
The attachment path is a collection of strings variable created from the variable created in the excel writer node.

Any suggestion on how to handle these use cases?

Hi @MafaldaBernardo,

without more details, like a screenshto fo your workflow or the settings related how you store and access the attachement, it will be diffcult to assist.

For debugging, I’d suggest to print the file paths to the attachements in the Data App or in the email. You could also use a list file / folders node or better to use Meta Info Extractor node check if the file(s) exist:

Best, Mike
CTO @ DataNautics GmbH - Your KNIME-Experts
Contact: info@datanautics.gmbh // datanautics.gmbh // +49(0)170-325 713 9 // Linkedin
Daten Automatisierung für Finanz-, Produktion-, IT- und Marketing-Prozesse mit KNIME