Incorrect deleting. #23095
Replies: 2 comments 23 replies
-
|
Hi @salihj09-art! I'm Dosu and I’m helping the cal.com team. The Cal.com API requires a unique booking ID to cancel a specific booking—using only the time or non-unique fields can result in deleting the wrong one if there are multiple bookings at the same time on different days. In Make.com, make sure you are passing the correct booking ID (not just the time or seatUid) from your "get upcoming appointments" module to the "cancel booking" module. Double-check that your mapping logic selects the intended booking by matching both the date/time and the unique ID, not just the first result in the list. This will ensure the correct booking is deleted every time. You can find more details in the API docs and codebase here. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
check the previous message.
@dosu
…On Thu, Aug 14, 2025 at 7:32 PM dosubot[bot] ***@***.***> wrote:
The API will only cancel the seat if the bookingUid in the URL and seatUid
in the body match exactly, and it validates this strictly before
proceeding — so if the wrong booking is being cancelled, it's almost
certainly a mapping issue in Make.com. Double-check that the bookingUid and
seatUid you send actually belong to the intended booking and seat for the
correct date/time.
Try adding a step in Make.com to log or output the bookingUid and seatUid
right before the cancellation call, and compare them to the details of the
booking you want to cancel. If your mapping is selecting the first result
in a list, or not filtering by both date and UID, it could target the wrong
booking. Filtering by both date/time and UID in your scenario should help
ensure the right booking is cancelled.
If you can share a sample of the mapped data or payload, I can help
pinpoint where the mapping might be going wrong.
For reference, the API logic and validation are described here
<https://github.com/calcom/cal.com/blob/e237749abd2c818e507f690787d3842c2f3043ca/apps/api/v2/src/ee/bookings/2024-08-13/services/bookings.service.ts>
.
*To reply, just mention @dosu <https://go.dosu.dev/dosubot>.*
------------------------------
How did I do? Good
<https://app.dosu.dev/response-feedback/edca1103-9bd3-44e2-a247-0b3de9fb521d?feedback_type=great_response>
| Irrelevant
<https://app.dosu.dev/response-feedback/edca1103-9bd3-44e2-a247-0b3de9fb521d?feedback_type=irrelevant_answer>
| Incorrect
<https://app.dosu.dev/response-feedback/edca1103-9bd3-44e2-a247-0b3de9fb521d?feedback_type=incorrect_sources>
| Verbose
<https://app.dosu.dev/response-feedback/edca1103-9bd3-44e2-a247-0b3de9fb521d?feedback_type=too_verbose>
| Hallucination
<https://app.dosu.dev/response-feedback/edca1103-9bd3-44e2-a247-0b3de9fb521d?feedback_type=hallucination>
| Report 🐛
<https://app.dosu.dev/response-feedback/edca1103-9bd3-44e2-a247-0b3de9fb521d?feedback_type=bug_report>
| Other
<https://app.dosu.dev/response-feedback/edca1103-9bd3-44e2-a247-0b3de9fb521d?feedback_type=other>
[image: Chat with Dosu]
<https://app.dosu.dev/af5cfe6f-229f-4840-8b4e-da82d0bb1ac6/ask?utm_source=github>
[image: Join Discord] <https://go.dosu.dev/discord-bot> [image: Share on
X]
<https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/calcom/cal.com/discussions/23095>
—
Reply to this email directly, view it on GitHub
<#23095 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BVYFZMDJJEEBJPFB6SIJHVL3NS23HAVCNFSM6AAAAACD5E3BSCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMJQGY2DENI>
.
You are receiving this because you were mentioned.Message ID: <calcom/cal.
***@***.***>
|
Beta Was this translation helpful? Give feedback.






Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I am facing some issues when deleting a seat, I am integrating the "cancel a booking" api documentation in make.com, the module is not deleting the correct booking from the cal.com calendar of the event-type. Example, if I have a booking for tomorrow at 15:00 and a booking for after tomorrow also at 15:00, and I request to cancel the one for after tomorrow, it just cancels the previous one (the one for tomorrow)
here is the module that gets the upcoming appointments
and here is the module that is supposed to delete the required seat or appointment
Beta Was this translation helpful? Give feedback.
All reactions