scheduler is good but you should be able
scheduler is good but you should be able to ctx.runMutation from any action. If it's not working can you start a #support-community thread?
4 Replies
if you are interested in the error i was facing before.
changed to scheduler and worked all fine.
my process was
was using node with this package 'ssh2-sftp-client'
to download files from a sftp server and then upload it to convex storage and all purpose of mutation was to insert logs into a table. that's it.
i was getting this in convex logs when mutation was failing. scheduler worked.
now i changed back to mutation and no errors.
@lee
that error is unfortunately opaque 😢
yeah that's why. lets call it convex magic for now lol. i have multiple of these though. i'll let you know if i get something again!
It kind of looks like the error you get on a transient network blip, which can happen for node since it runs separately from other convex functions. But we should make the error better