Cause
When calculating fees for appointment-related transactions, an appointment ID must be provided as context.Fix
Include theappointment parameter with a valid appointment ID when the fee type is appointment, then call the same operation again.