Trying to remove Null value Pending Tasks from the que using api update task status by ID

I am getting a 500 using beta what am I missing? I have used Error to Completed and they get removed why can’t I use null to completed to remove the task?

Hi @TJ211
try this , I removed quotes from null

[  
  {  
    "op": "replace",  
    "path": "/completionStatus",  
    "value": null  
  },  
  {  
    "op": "replace",  
    "path": "/completed",  
    "value": "2024-05-17T19:33:16.470Z"  
  }  
]  

@gourab says missing or empty value hmm

same value

Screenshot 2024-10-03 134227

1 Like

I was able to remove the task from the list with:

[
    {
      "op": "replace",
      "path": "/completionStatus",
      "value": "null"
    }
]
1 Like

I was not able to use the null value but the Completed Success value works on removing the NULL jobs in the que so win win :slight_smile:

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.