Triggered Email Failure

In my site I have a code that is triggered when clicking “request for demo” btn, that is adding a new contact entry to the contact list and trigger an email with welcome + more details format.
The code as following:


import wixCRM from ‘wix-crm’;

// For full API documentation, including code examples, visit Velo API Reference - Wix.com

$w.onReady( function () {
//TODO: write your page related code here…

});

export function submitForDemo_click(event) {
wixCRM.createContact({
“firstName”: $w(“#input4”).value,
“lastName”: $w(“#input1”).value,
“emails”: [$w(“#input2”).value],
“phones”: [$w(“#input3”).value]
})
.then((contactId) => {
wixCRM.emailContact(“RHm5p1a”, contactId, {
“variables”: {
“firstNameUser”: $w(‘#input4’).value
}
})
})
}

This code was working for almost 4 months, last time it worked two days ago from today, suddenly it started to fail with the following error:
Uncaught (in promise) contactId does not match current session contact

Any Idea what it can be? I will appreciate for the help.

Best regards,

URL of the page that contains the “request demo”
https://www.cloudivize.com/request-demo