Hi. Are there any special requirements for credentials on crons?
We have a workflow that includes at some points rocket chat notifications.
When we execute it manually it works fine but when executed via cron it fails with:
ERROR: Node has no access to credential
We’ve recreated the credentials with the main admin user but still the same.
Just wondering if we are missing something regarding the user that executes the cron and its access to credentials.
No sharing. It’s created on the main user and the credentials too. Somehow while we are logged in no errors but cronned executions fail on the notification with that error (?)
We are going to move the notifications to a different workflow to see if anything changes.
By the way (unrelated), any way of testing the values received when a workflows calls another one? I mean like when you manually execute nodes and see the values being populated.
The way I do it with sub workflows is enable execution logging then check the log to see what it gets but really the sub workflow will get whatever the node before you call it outputs.
I can’t think of any reason for the error you are seeing, Does anything appear in either the browser console or the n8n output logs?