Hi there,
I am new to MAKE and test driving different things. I am setting up/ developing a custom APP for our SAAS product, created my first action modules - so far so good.
I am struggling (404) with shared Webhooks though.
connection
My connection has an uid declared as follows:
{
"url": "https://mysass.eu.ngrok.io/mvc/make/connection",
"headers": {
"x-mysass-token": "{{parameters.apiToken}}"
},
"response": {
"uid": "{{body.uid}}",
"data": {
"token": "{{body.token}}"
}
},
"log": {
"sanitize": ["request.headers.x-mysass-token"]
}
}
The connection api call returns as follows:
{
"token": "mytoken_value_uuid",
"uid": "my_userid_uuid"
}
Connection verification works fine, I can execute a simple hello world read module I created.
webhook
I am not sure how the connection should be configured, I tried both “body” and “item” in the mapping:
{
"uid": "{{body.uid}}",
"output": "{{body.event}}"
}
I am calling the shared url address with the following post request:
POST /app/my_shared_url_address HTTP/1.1
Content-Type: application/json
Host: shield.make.com
Connection: close
Content-Length: 152
{
"uid" : "my_userid_uuid",
"event" : {
"praxisId" : "my_userid_uuid",
"webhookType" : "SOME_ACTION",
"refId" : "some_action_refId"
}
}
If I send a broken JSON I get a 400 / BAD REQUEST, which tells me the URL is found and the 404 is happing later in the process.
instant trigger
My instant trigger has an empty object {}
in the communication section, an empty array in the static parameters.
The interface was generated and I guess is of no relevance concerning my problem.
Problem
If I try to POST data to the webhook url I get a 404 “not found” response. My app is version 1.0.0 and private, both modules are “visible” and “on”.
I do “re”-verify the connection every time I change anything, no errors here.
The scenario I created has a simple instant trigger pushing the received event data to a slack channel.
I did create an API KEY in my user profile and tried making the POST call with a Bearer Authentication (suggestion of ChatGPT, lol), but it did not help.
I am not sure how to debug it, the error 404 is not really helping.
Any tipps?