Skip to main content

Hi everyone,

 

I have created a bot that processes some CSV files, and then email the results.

The credentials for the EMail components are stored in a credential vault.

When I launch the bot from the control room (Run task bot), it will work correctly.

However, if I want to launch it from AARI, the EMail send fails with this error : “ There was an error in sending the email message. Please check your connection details provided and try again. “ → I assume the bot runner has no access to the credential vault.

However, in both cases the user bot.runner is used, it has access to the locker, there is no specific configuration or difference.

Did anyone ever face the same error ?

That sounds like a correct assumption. This could depend on the user executing the AARI/Co-Pilot process. It’s probably a different user than your bot creator account. 

When testing AARI/Co-Pilot functionality, I have a different user account with permissions for attended bot runner execution. That’s probably the case here too.

Screen shot of the control room, showing the account details and the Attended bot runner license active instead of the Bot creator license.

Just make sure this AARI/Co-Pilot user has permissions to that credential vault locker.


Reply