@Bai
I'm sorry to hear that you're experiencing issues with the appointment cancellation or rescheduling functionality. To assist you accurately, I'll need a bit more information. Could you please provide me with the specific details or steps you're taking when you request a cancellation or reschedule? This will help me understand the problem better and ensure that the correct function is called with the appropriate parameters.