Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

BullMQ update job data fails #80

Open
rkleijn opened this issue Oct 2, 2023 · 0 comments
Open

BullMQ update job data fails #80

rkleijn opened this issue Oct 2, 2023 · 0 comments

Comments

@rkleijn
Copy link

rkleijn commented Oct 2, 2023

Hello. I am using bull monitor (express) in combination with bullmq. This all works great except for updating job data of a failed job the following error is thrown in the console:

main.js:407 Error: this._job.update is not a function: {"response":{"errors":[{"message":"this._job.update is not a function","locations":[{"line":3,"column":9}],"path":["updateJobData"],"extensions":{"code":"INTERNAL_SERVER_ERROR"}}],"data":{"updateJobData":null},"status":200},"request":{"query":"\n mutation UpdateJobData($queue: ID!, $id: ID!, $data: JSON) {\n updateJobData(queue: $queue, id: $id, data: $data) {\n id\n }\n }\n ","variables":{"queue":"e0RFVl9oY31ERVZfaGM=","id":"fc98837d-24f5-4a4d-aaed-99ac548bc3c5","data":

Any pointers on what could cause this?

Thank you.
ps: Using version 5.4.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant