Error: Missing lock for job

I am seeing the following error message repeated in the console by the worker:

2023-09-04 15:33:31 Error: Missing lock for job repeat:6ebd35806c12b88fd2ba60acc9ec4828:1693859611000. failed
2023-09-04 15:33:31 at Scripts.finishedErrors (/usr/src/app/node_modules/.pnpm/bullmq@3.10.4/node_modules/bullmq/src/classes/scripts.ts:355:16)

I haven't been able to figure out what's causing it, but I think it's somewhat related to a workflow step failing due to the subscriber not having a channel configured.

  1. Can that error be fixed?
  2. Is there a way to skip a step if the user doesn't have the channel configured? IMO this shouldn't be an error especially for push notifications since the user could choose not to accept them.
Was this page helpful?