Service account ID must be specified for shared webhooks

Hi,

I’m trying to implement shared webhooks.
My implementation looks normal. When i post data to https://shield.make.com/app/… I got “Accepted” response. But when I try to add instant module to my scenario, got these error at ss. I researched but couldn’t find anything. Do you have any tips??

Network tab :
{
“detail”: “Service account ID must be specified for shared webhooks.”,
“message”: “Unknown Exception”,
“code”: “IM000”
}

Hi @salih,

Welcome to the forum!

Because you’re using a shared webhook, when data is received to the webhook address Make needs to identify which user and which scenario to pass this onto. So you need to make sure that:

  1. The Webhook is attached to a connection in your Custom App.
  2. The Connection itself captures an ID for the user. Notice the uid parameter in this Connection code:
{
    ...
    
    "info": {
        "url": "https://slack.com/api/auth.test",
        "headers": {
            "authorization": "Bearer {{connection.accessToken}}"
        },
        "response": {
            "uid": "{{body.user_id}}",
            "valid": "{{body.ok}}",
            "metadata": {
                "type": "text",
                "value": "{{body.user}}"
            }
        }
    }
    ...
    
}
  1. Data being received by the webhook will include that same ID, and Make can find that data in the income payload sent to the webhook. Notice the uid parameter is also needed in the Webhook code:
{
	"uid": "{{item.uid}}",
	"output": "{{item.data}}",
	...
}

The doc for this are here:

Good luck with your app.

Kind regards, Terry.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.