Null Due Date on created task crashes the consumer #9

Closed
opened 2026-06-02 20:27:46 -05:00 by kelly · 0 comments
Owner

`Payload:

{

"type": "task.created",

"timestamp": "2026-06-03T01:24:39.274346259Z",

"data": {

"chore": {

  "id": 113,

  "name": "testing consumer",

  "frequencyType": "once",

  "frequency": 1,

  "frequencyMetadata": {},

  "nextDueDate": null,

  "isRolling": false,

  "assignedTo": null,

  "assignees": null,

  "assignStrategy": "no_assignee",

  "isActive": true,

  "notification": false,

  "notificationMetadata": {},

  "labels": null,

  "labelsV2": null,

  "circleId": 1,

  "createdAt": "2026-06-03T01:24:39.218815041Z",

  "updatedAt": "2026-06-03T01:24:39.219435397Z",

  "createdBy": 1,

  "updatedBy": 1,

  "thingChore": null,

  "status": 0,

  "priority": 0,

  "description": "",

  "requireApproval": false,

  "isPrivate": false

},

"username": "kelly",

"display_name": "Kelly",

"note": ""

}

}

Receive-Webhook: /data/Start-DoneTickConsumer.ps1:143

Line |

143 | Receive-Webhook -Context $context

 |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 | Cannot bind parameter 'Date' to the target. Exception setting "Date":

 | "Cannot convert null to type "System.DateTime"."`
`Payload: { "type": "task.created", "timestamp": "2026-06-03T01:24:39.274346259Z", "data": { "chore": { "id": 113, "name": "testing consumer", "frequencyType": "once", "frequency": 1, "frequencyMetadata": {}, "nextDueDate": null, "isRolling": false, "assignedTo": null, "assignees": null, "assignStrategy": "no_assignee", "isActive": true, "notification": false, "notificationMetadata": {}, "labels": null, "labelsV2": null, "circleId": 1, "createdAt": "2026-06-03T01:24:39.218815041Z", "updatedAt": "2026-06-03T01:24:39.219435397Z", "createdBy": 1, "updatedBy": 1, "thingChore": null, "status": 0, "priority": 0, "description": "", "requireApproval": false, "isPrivate": false }, "username": "kelly", "display_name": "Kelly", "note": "" } } Receive-Webhook: /data/Start-DoneTickConsumer.ps1:143 Line | 143 | Receive-Webhook -Context $context | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Cannot bind parameter 'Date' to the target. Exception setting "Date": | "Cannot convert null to type "System.DateTime"."`
kelly added the bug label 2026-06-02 20:27:46 -05:00
kelly referenced this issue from a commit 2026-06-02 20:31:16 -05:00
kelly closed this issue 2026-06-02 20:49:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kelly/donetick-notifier#9