Unsupported type of Message Error on UI

Hey Devs,

I’m creating a Chatbot for myself using python and trying to integrate it with Zoom.
Have already succeeded with other steps but when I try to send a response message from the bot by API call it returns response of API call with status code 201 but in front end part it showcases a message as “Unsupported type of message” while I have passed a normal string as response message.

payload = {
            'robot_jid': f"{BOT_ID}@xmpp.zoom.us",
            'to_jid': f"{user_jid}@xmpp.zoom.us",
            'account_id': account_id,
            "user_jid": user_jid,
            'content': {
                'head': {
                    'text': message,
                    "sub_head": {
                        "text": "I am a sub header"
                    }
                },
                'body': [{
                    'type': 'message',
                    'text': "Hello response"
                }]
            }
        }
1 Like

Hi @nairdheeraj2249
Thanks for reaching out to us! I am happy to help here!
Are you still experiencing this issue?