You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I config Discord service with url: WATCHTOWER_NOTIFICATION_URL: "discord://${DISCORD_WEBHOOK_TOKEN}@${DISCORD_WEBHOOK_ID}?json=true"
Then I got this error: level=error msg="Failed to send shoutrrr notification" error="failed to send discord notification: response status code 400 Bad Request" index=0 notify=no service=discord
But if I remove ?json=true from the URL, the notification is successfully sent to the Discord channel.
I tried replacing json=true with splitlines=false, and it worked fine.
It seems that some query parameters are not functioning correctly.
The text was updated successfully, but these errors were encountered:
The json argument means that it should directly send the template output to the API (which then needs to be correct JSON). What is it you want to accomplish?
Try adding ``` around the messages in the watchtower template. You can probably get it to work using the json param and a carefully crafted template according to the discord docs, but it seems like a lot of work.
I config Discord service with url:
WATCHTOWER_NOTIFICATION_URL: "discord://${DISCORD_WEBHOOK_TOKEN}@${DISCORD_WEBHOOK_ID}?json=true"
Then I got this error:
level=error msg="Failed to send shoutrrr notification" error="failed to send discord notification: response status code 400 Bad Request" index=0 notify=no service=discord
But if I remove ?json=true from the URL, the notification is successfully sent to the Discord channel.
I tried replacing
json=true
withsplitlines=false
, and it worked fine.It seems that some query parameters are not functioning correctly.
The text was updated successfully, but these errors were encountered: