There seems to be an issue when calling client.queues.create_item with a QueueItem which contains a dueDate, deferDate or riskslaDate.
When the method is executed, the following error occurs:
TypeError: Object of type datetime is not JSON serializable
My guess is that somewhere in the create_item function the QueueItem isn't being correctly serialized before being added to the request body to be sent to the Orchestrator API. This means that it possibly attempts to send a datetime object over a formatted string.
There seems to be an issue when calling
client.queues.create_itemwith a QueueItem which contains adueDate,deferDateorriskslaDate.When the method is executed, the following error occurs:
My guess is that somewhere in the
create_itemfunction the QueueItem isn't being correctly serialized before being added to the request body to be sent to the Orchestrator API. This means that it possibly attempts to send a datetime object over a formatted string.