401 and 403 error

Hi
I have made a triggered email for my website using the new contact method following the wix tutorial https://support.wix.com/en/article/corvid-tutorial-sending-a-triggered-email-to-contacts

It was working fine for a few days than it stopped working from Tuesday and I can not solve it anymore,the code hasn’t changed

I don’t get error in wix preview mode but I get error in google developer tools

wixcode-crm.js:357 Uncaught (in promise) contactId does not match current session contact (401) or sometimes 403 error
I understand that this is related due to the fact that I am not logged in
But this was working properly so far without the need to log in,can anyone help me please explain me how to make it work again,or at least why it changed?
Thank you

I am having the same exact issue can someone Help ?

https://support.wix.com/en/article/live-site-error-error-401-unauthorized

https://support.wix.com/en/article/live-site-error-error-403-forbidden

Also, have a read of the Wix CRM API reference as you will find a lot of info about it there too.
https://www.wix.com/corvid/reference/wix-crm.html

Plus, as stated on the tutorial - Don’t use preview!
Test your form in your published site to see that it creates the contact and sends a Triggered Email.