Submitting form always error

At first the form works well in preview it’s going in the database, but it isn’t working in live so I tried fixing it, but then it isn’t working now in both preview and live. I don’t know what is wrong it’s showing “An error occurred. Try again later” and there is no collected data always. Here is the link to the form https://minecraftcommunityvn.wixsite.com/villagernews/submit-map

Hey there Villager!
Is this the form you’re referring to? { Submit (MAP) }


The link you’ve attached doesn’t work and I couldn’t find this page in your site.

Doron.

I have the same problem - my form works in Preview and posts to the sandbox but the ‘live’ page throws an “An error occurred - Try again later” message.

My link is https://uniconational.wixsite.com/unico/district-governor-s-quarterly-repor - I just checked it again and the link works.

In looking at the developer’s console messages in Preview I noticed events being triggered repeatedly with only partial data until the form is completed.

I viewed the tutorial video on connecting a form to a collection and there doesn’t seem to be anything I did incorrectly. There is page code linking to SendGrid in order to send a confirmation email, but even when I removed that code and published the page I get the same result.

I’m under a very tight deadline - any and all assistance would be greatly appreciated.

Hi,
In email.jsw try to change the import row from:
import {sendWithService} from ‘backend/sendGrid’;
to
import {sendWithService} from ‘backend/sendgrid’;
Roi.

Also make sure you have the correct Permissions on Data Collection so that anyone or the logged in user role has the right to Create items in the data collection.

Hi, i also had the same issue. But it has been rectified already.
What i did was to change the “Privacy and Permission” on the Collection from “member only” to “members submission”.
You can also try it out.

I spoke to Wix support and they fixed it by having me go in my browser settings, clear my cache, close browser for 10 seconds, open wix editor, save and publish.