Console error "Client must be initialized" when embedding JSD widget on external website

i’m using the embedded JSD widget on my site, it works well but it throws a warning in the console when loading the page:

{
msg: “An error has occurred checking the feature gate. Only the first
occurrence of this error is logged.”,
gateName: “platform_editor_typography_ugc”,
error: Error: Client must be initialized before using this method
at Object.assertInitialized
(``https://jsd-widget.atlassian.com/assets/iframe.js:136:168946``)
at Object.checkGate
(``https://jsd-widget.atlassian.com/assets/iframe.js:136:170157``)
at L.checkGate
(``https://jsd-widget.atlassian.com/assets/iframe.js:136:179259``)

}

To reproduce it, just add the standerd JSD widget in the code and load the page.

I found a workaround in Console warnings when feature gate can not be evaluated , adding this before the embed
script removes the error:
window.CRITERION = { getFeatureFlagOverride: () => false };