Cancelling cal.com Booking

I’m using their latest APIv2 and I’ve created a HTTP GET REQUEST to cancel a current booking with by UID. However, I keep getting an error that as the host I need to have a cancellation reason. How can I structure getting the cancellation reason and posting it through the API?

Hi @Drewseph and welcome to the Make Community!

It looks like

image

Does not exist in module 1. If it did, it would be a solid color, not an outline.

If Module 1 is a webhook, you can fix that by asking it to redetermine the data structure

image

then calling it with an external tool like a browser (if it is a GET request) or Postman (if it is a POSt request).

That should fix the problem.

L

I do have it. But now I get 403 & 404 error.



Like the uID is correct so not sure what’s going on :frowning:

So you’re saying that the code that ends in “XFna” in your URL is correct ID for the item you are trying to delete? Is it possible that it was cnaceled by another operation? Does it do this with all the cancelations you try?

A 404 clearly is trying to access something that doesn’t existe. A 403 error indicates that you don’t have the right to do what you are doing.

But beyond that, I can only speculate about the problem.

L

Here is my scenario and my settings. I admit that I don’t have a problem with this configuration. The main difference is that I use a POST parameter rather than GET.



1 Like

Welcome to the Make community!

This should be the correct answer.

There is no GET method for the cancel route.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

Totally my bad! I switched to POST. For some reason I thought I already had it on POST and not GET… I guess I forgot to make it POST when I initiated it! So sorry everyone! Thanks for all your replies.