Webhook URL returning 404 error

:bullseye: What is your goal?

I am using getlate.dev to publish on social media and need to set up a webhook on make.com to send emails if the posts don’t publish properly or if a social media account disconnects.

:thinking: What is the problem?

I have set up the webhook using a custom webhook and linking it to my gmail account to send the emails. When I paste the webhook URL into the appropriate form on getlate.dev, it returns a 404 error.

:test_tube: What have you tried so far?

I have tested the gtlate form using https://webhook-test.com/ and that gets the messages, so things are correct at that end.
To me, that means the issue is with the URL or webhook setup at make.com
I have tried deleting everything on both sites and starting again, but this returned the same error.
I have read many help pages, but can’t find anything that addresses this specifically. I am very new to webhooks and the jargon on many help pages is like a foreign language, I need a fix described in very simple terms. (sorry)

ETA Not sure if this makes a difference, but I had to add https:// to the beginning of the webhook URL to get it to be saved at getlate.

Hey Debbie,

Do you mind sharing some screenshots of the scenario setup and the error you are getting?

Hope these help. If there is anything specific you need let me know.

This setup looks like it’s supposed to be for a generic webhook and not a mailhook. Try changing the hook to that one and test with it.

Thank you. I did that and also changed the URL your system gave me, as the getlate system apparently needs the make.com part before the long code number and not after the @.

The remaining problem is that although it’s now sending emails, they are blank. getlate says “Our webhooks send HTTP POST requests with JSON data, not emails. A “mailhook” in Make.com is designed to receive emails, which won’t work with our webhooks.”
I’ve gone back to the webhook, which they say I need to do, but that is sending blank emails, too.
Should I be putting something in this end, e.g. in the body content boxes, to tell it to put information in there? I have this (image)

at getlate. but not sure what to do with it.

I appreciate no answers due to holidays, but the bot has asked me to continue the thread to keep it open. I still have the issue of blank notification emails, detailed above.

Hi @Debbie_Waller - just jumping in here in case you still need help.

You’re receiving blank emails because the Gmail module is not fully configured:

To access the content where I wrote <put content in here>, click on the Add body content link here:

You can then enter the message you want to send via email when the webhook is triggered.


So for your whole scenario:

  1. Use Custom webhook for the trigger, not mailhook
  2. Enter your content in the Gmail module

If the Gmail module needs to contain information from the webhook (e.g. the event or post content), here’s what you’ll do:

  1. On your webhook module, right-click > “Run this module only”

  2. Then trigger the webhook like you did previously when testing with getlate - Make should now receive the webhook and show you variables like event, post.content or whatever your webhook payload contains. For example:

  3. Then in the Gmail module, you can map those variables inside your content:

Cheers,
Sierra

1 Like

Thanks, much appreciated and I will try this out.

Hi @Debbie_Waller – please remember to come back here and let us know if Sierra’s solution worked :slight_smile: It’s always good for other members of the community to know the workaround.

1 Like

Of course, I have now had the chance to try this and it works very well. Many thanks to everyone who’s helped on this one.

3 Likes