-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web hooks not successful: Invalid href value provided. #9899
Comments
I see you blurred the text fields, but I suspect those are the relevant part to this bug. Can you give us an example? You can replace it with a spoof message, but just so we can see the structure? |
I changed the domain name, and some of the letters on the token: Headers
Content{
"channel": "#internal-commits",
"text": "[\u003chttps://git.mydomain.com/org/Project.SubProject|epg/Project.SubProject\u003e:\u003chttps://git.mydomain.com/org/Project.SubProject/src/branch/master|master\u003e] \u003chttps://git.mydomain.com/org/Project.SubProject/compare/e182e39f16b75d31513ca0122ec5b175b904b573...8c847a9f3a13b91e03538594934630897e8deb91|1 new commit\u003e pushed by bkraul",
"username": "",
"icon_url": "",
"unfurl_links": 0,
"link_names": 0,
"attachments": [
{
"fallback": "",
"color": "",
"title": "",
"title_link": "",
"text": "\u003chttps://git.mydomain.com/org/Project.SubProject/commit/8c847a9f3a13b91e03538594934630897e8deb91|8c847a9\u003e: Some commit message - bkraul"
}
] |
I am aware that this could be an issue in the incoming webhook side of things, but the thing is, nothing has changed on that end for weeks, and if I call the webhook directly by URL, it returns a success code I'm gonna go ahead and test it with the json payload with Insomnia and see what I get.. |
Could be that something to do with escaping of < symbols |
It was recently changed to work in both slack and matternost |
I am using RocketChat, which works pretty much in the same way Slack works. As mentioned, this has worked properly for at least a year. Maybe we need a RocketChat setting 😄 ? More info here |
And so, apparently, if there are no This payload works fine
|
Sooo...anything that can be done to help this issue? A workaround, a config setting, maybe? |
It maybe related with #9422 ? |
I believe it's caused by #9378, which added Looking at the blame for push actions, the func itself hasn't been touched in a few months. That change was only changing links, so it's unlikely that caused it, and before that change it's been years. My guess is that action needs to set the |
[x]
):Description
All webhooks have begin to fail with the following response:
Headers
Body
The webhook URL has not changed, and it was working properly before.
Screenshots
The text was updated successfully, but these errors were encountered: