Problem with Login Function

Hello, I am facing a problem with the login function of the widget js api.
Show this message error:
image
This is my code inside the Embed add function:

(function(){
            var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
            s1.async=true;
            s1.src='https://embed.tawk.to/' + idPropriedadeWidget + '/' + idWidget;
            s1.charset='UTF-8';
            s1.setAttribute('crossorigin','*');
            s0.parentNode.insertBefore(s1,s0);

            window.Tawk_API.login({
                hash: '',
                'userId': userId,
                name,
                email
            }, function(error) {
              console.log('Tawk API login callback', error);
})

This is my code before the function to add the Embed:

        var Tawk_API = window.Tawk_API||{};
        var Tawk_LoadStart=new Date();

        window.Tawk_API.login(
            {
                hash: '',
                'userId': userId,
                name,
                email
            }, function(error) {
                console.log('Tawk API login callback', error);
            }
        )

Hi @lucasgarciadev ,

Thank you for reaching out to us. We sincerely apologize for any inconvenience this may have caused.

Our team is currently reviewing the codes you’ve provided. To assist you further, could you please share the website URL? This will help us gather more details and identify the issue more effectively.

We appreciate your patience and look forward to resolving this for you.

Kind regards,
Jethro