We suspect that appointment Start/EndTime are not in correct format after performing CRUD operation which could be the cause for the issue. Kindly use the below code example to overcome the reported issue.