Hello.
I encountered a problem when integrating a web widget into my Next.js application.
I added the script to the top of the page, but when I try to load it I get an error:
fd-messaging.61110ffdb17f21cb83e2.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'success')
Which refers to the internal code of the widget. Please tell me what could be the reason for the error?