-
Notifications
You must be signed in to change notification settings - Fork 61
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
Cannot send notifications through discord with json #422
Comments
The |
Try adding ``` around the messages in the watchtower template. You can probably get it to work using the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: