Form Input not saving in Dataset

I have a form with user inputs that on submit I want to save in my data collection. However, when I test it and click submit the error message pops up under the submit button. The console says the following:

Does anyone know what the issue could be?

Thanks for any help!

Hey @decadthelena !

Iā€™m not too sure what would be causing the error, but support might be able to help :slight_smile:

I found the solution here: https://community.wix.com/velo/forum/coding-with-velo/saving-form-to-dataset-failing-on-production-with-servervalidationerror-record-saving-failed

you can do this with this: https://support.wix.com/en/article/changing-your-collection-permissions

1 Like

There may be a problem with the database connection or the form settings if your form data is not being saved in the dataset. Data may not be saved successfully if the database connection is not set up appropriately. Additionally, data will not be saved if the form is not set up to store information to the appropriate database or field. Verify that the database connection and form settings are properly configured to fix this problem.