Hello,
I’ve built many integrations of webhooks for handling form submission for websites.
Now I have one specific form, where i get some spam inputs.
Make serves me with this yellow error message:
Is there any way I can use this to then prevent the rest of the scenario to happen? I did not find any information on which error handler i could use in this case.
Interestingly whenever these Spam Inputs occur, the next module (mail sending with smtp) will most of the time fail, because these e-mails are not valid anyways. But I would still like to have that handled, instead of receiving Make Error E-Mails for every spam input.
Best regards,
Leon
Welcome to the Make community!
What is “spammy” above? How does this differ to a “normal” form submission?
Could you provide a screenshot of the full scenario, as well as the “Output bundle” as seen above?
Please provide the input and output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
A.
Save each bundle contents in your text editor as a bundle.txt
file, and upload it here into this discussion thread.
Uploading them here will look like this:
module-1-input-bundle.txt (12.3 KB)
module-1-output-bundle.txt (12.3 KB)
B.
If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:
-
Either add three backticks ```
before and after the code, like this:
```
input/output bundle content goes here
```
-
Or use the format code button in the editor:
Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.
This will allow others to better assist you. Thanks!
samliew – request private consultation
Join the Make Fans Discord server to chat with other makers!
Hey @samliew, thank you for the answer!
The output bundle of the webhook is this:
output-bundle.txt (283 Bytes)
The Input Bundle is empty:
Here is the Scenario Blueprint:
Mail Sending Blueprint.json (13.4 KB)
The Input is spam, because the Site is in German and it’s obviously not a real e-mail. I think that’s why the smtp module recognized it as spam.
The Reason for my question was mainly becuase i wanted to understand the concept of the yellow webhook error and if i could leverage that these modules already seem to recognize spam themselves.
Basically a module elsewhere in your scenario is running into an error and you don’t have an error handler on it.
Because of the error, your Webhook Response never runs so Make sends a default error response instead.
Just add an error handler route to your Gmail module and add like a Commit module. That should just stop the scenario right there…
3 Likes