Incoming hook not work after migration from mysql

Dear Community,

After migration from mysql to postgres, all existing incoming hooks doesn’t work. If I add a new one works, but existing I get an http 404 o 403 with this body:

{
    "id": "web.incoming_webhook.general.app_error",
    "message": "Failed to handle the payload of media type application/json for incoming webhook t7fybgmtwpng8dwgi3xdytzpzh.",
    "detailed_error": "",
    "request_id": "xjfob4wcz3bhmysusdu8ts47ic",
    "status_code": 403
}

Thanks for any help!

I am on the lastest version 10.7.0

It’s a bit late, but for those finding this page via Google, it can be useful to know this error is most likely related to an incorrect channel in the request. Keep in mind that you can change the channel name in Mattermost, but this doesn’t automatically change the URL. The channel in the webhook request must match the channel’s URL.

1 Like