Emoji not send through Webhook
search cancel

Emoji not send through Webhook

book

Article ID: 373414

calendar_today

Updated On:

Products

DX OI SaaS

Issue/Introduction

While configuring a notification channel (using a webhook) to notify. GChat allows us to send emojis using UTF-8 encoding.
The problem is that when we configure a basic text message to send to GChat, we cannot see the emoji, we just see "?" instead.
 
How to reproduce the bug
 
1. Create a GChat channel.
2. Enable a new webhook.
3. Create a notification channel using the webhook.
4. Use the following "Webhook Payload".
 
{"text":""}

Cause

SaaS is not storing the "Webhook Payload" as UTF8.
The request to the GChat API is ignoring the header "ContentType" that we're filling in the form with.

Resolution

This is a known issue and it is fixed in the SaaS_8.1 release. It should be rolled out around the end of September 2024.