Error when adding a Mailjet Watch Event Module

Hello,

I am trying to add a watch event webhook from Mailjet for email open events.

When setting up the webhook, I keep getting this error :

[400] MJ18 A EventCallbackURL resource with value “0|false” for EventType|Backup already exists.

The webhook works fine for other events. It is unclear to me what the underlying issue is.

I don’t have another watch email open webhook in any of my scenarios (which is what I understand from the error).

Could someone help me with this ?
Thanks in advance :slight_smile:
Mateo

Welcome to the Make community!

Go to your Webhooks page, and delete the Mailjet webhook.

Alternatively, put this into a new scenario and run it once.

Instructions below.

Module Export - quick import into your scenario

You can copy and paste this module export into your scenario. This will import the modules (with fields/settings/filters) shown in my screenshots above.

  1. Move your mouse over the line of code below. Copy the JSON by clicking the copy button on the right of the code, which looks like this:

  2. Enter your scenario editor. Press ESC to close any dialogs. Press CTRLV (paste keyboard shortcut for Windows) to paste directly in the editor.

  3. Click on each imported module and re-save it for validation. There may be some errors prompting you to remap some variables and connections.

JSON module export — paste this directly in your scenario

{"subflows":[{"flow":[{"id":330,"module":"mailjet:makeApiCall","version":1,"parameters":{"__IMTCONN__":6023667},"mapper":{"url":"/v3/REST/eventcallbackurl","method":"GET","headers":[{"key":"Content-Type","value":"application/json"}]},"metadata":{"designer":{"x":1252,"y":-1131,"name":"Get Webhooks"},"parameters":[{"name":"__IMTCONN__","type":"account:mailjet,mailjet2","label":"Connection","required":true}]}},{"id":329,"module":"mailjet:makeApiCall","version":1,"parameters":{"__IMTCONN__":6023667},"mapper":{"url":"/v3/REST/eventcallbackurl/{{first(map(330.body.Data; \"ID\"; \"EventType\"; \"open\"))}}","method":"DELETE","headers":[{"key":"Content-Type","value":"application/json"}]},"metadata":{"designer":{"x":1496,"y":-1130,"name":"Delete Webhook"},"parameters":[{"name":"__IMTCONN__","type":"account:mailjet,mailjet2","label":"Connection","required":true}]}}]}],"metadata":{"version":1}}

Note: Did you know you can reduce the size of blueprints and module export code like the above, using the Make Blueprint Scrubber?

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.