Although the messaging widget seems to work correctly, we get this error from many users in our error reports in Sentry. Any idea what may cause this error? We switched from classic to messaging about a month ago and we have updated the embed code.
Error: Method webWidget:on.open does not exist. Check out the Developer API docs to make sure you're implementing it correctly, https://developer.zendesk.com/embeddables/docs/zendesk-sdk-for-web/getting_started



I did some digging and it looks like the above issue was related to some old widget code being used. I would recommend checking your website and making sure you're using the new widget code as mentioned here: https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/sdks/web/sdk_api_reference/
You can see in the above documentation that it uses
zE('messenger'instead of the classic onezE('webWidget.Hope this helps point you in the right direction!