Sendbird Bots do not call the webhook

[Problem/Question]
We’ve set up a sendbird bot pointing to an ngrok endpoint on a local device. Upon a user message, we see the message appear in the chat, the global chat webhook being called, but the bot’s webhook does not get called.


[SDK Version]
1.0.27
[Reproduction Steps]

  • create ngrok tunnel
  • Create Bot with bot_callback_url pointing to said tunnel
  • create GroupChannel with user and bot
  • send message from user
  • receive no callback

[Frequency]
// How frequently is this issue occurring?
Every time a message is sent

[Current impact]
// How is this currently impacting your implementation?
Unable to continue with implementation

[Additional Details]
metadata, profile excised , but below is the bot urls

            "bot_callback_url": "https://ae45-103-252-201-192.ngrok-free.app/webhooks/sendbird",
            "is_privacy_mode": false,
            "enable_mark_as_read": true,
            "show_member": true,
            "channel_invitation_preference": 1,
            "created_at": 1750923837,
            "cas": 1750923837,
            "bot": {
                "bot_userid": "finch-https-ae45-103-252-201-192-ngrok-free-app-webhooks-sendbird-fc7f3e87a6",
                "bot_nickname": "Trial Shift Agent",
                "bot_profile_url": "",
                "bot_require_auth_for_profile_image": false,
                "bot_metadata": {
                },
                "bot_token": "674b0cc4b6372cd846dd369fe658b04b135b3c42",
                "bot_type": "helper",
                "ai_agent_type": "none",
                "feedback": false
            },
            "bot_style": {
                "auto_open": true,
                "color": {
                    "theme": "light",
                    "accent_color": "#742DDD",
                    "bot_message_color": "#EEEEEE"
                },
                "toggle_button_url": null,
                "toggle_button_type": null
            },
            "special_notice": "",
            "is_special_notice_enabled": false,
            "handoff": null,
            "default_language": "en",
            "maintenance_mode": {
                "is_enabled": false,
                "message": ""
            }
        },

I’ve checked that the ngrok address matches
the app id is 42F3640A-...

We’ve figured it out. It seems that there’s something going on with channel_invitation_preference. While stated to be default 0, using the current 1.0.27 python SDK, bots created with no channel_invitation_preference argument parsed are initialized with 1, instead of the 0 mentioned in the docs