Hi there,
I created a form for member’s to upload photos to a new dataset and I get the following error:
save operation failed: DatasetError: Operation (save) not allowed during save
The permissions are set up for anyone to create on the database, and write only for the dataset on that page.
Thanks in advance!
Hello
Probably, you set wrong actions for upload button… Just my guess
Can you please share site here? Where you experience this issue
Thanks
https://www.stlmini.com/submit-photos
Here’s the site, I do want to point out that email is set to be populated by getting the current users email, but I commented it out so I could make the site public for now, it is not a required field.
Thanks!
Also, I have been having trouble getting out site to upload photos on Forums, to get the media folders built in etc. for the past few months, maybe this is related? I can’t even post pictures on this forum. 
First, forums should not be connected to this issue for sure
As for images - i managed to upload image right now (cat in glasses)
So, it’s possible general computer issue, but i have no idea what can it be…
Can you please share screenshot with dev tools open? I will try to get some info from error
I see the cat with glasses! I cannot even upload photos on this forum, the wheel just spins and spins. I think it may be the secured network connection I’m using. Here are some of the error in dev tools.
fileUploadManager.js:62 OPTIONS https://files.wix.com/files/upload/url?media_type=picture net::ERR_TUNNEL_CONNECTION_FAILED
Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at XMLHttpRequest.t.onreadystatechange (fileUploadManager.js:48)
Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
firebase.js:365 GET https://wix-engage-visitors-prod-1.firebaseio.com/.lp?start=t&ser=6921901&cb=2&v=5 net::ERR_CONNECTION_TIMED_OUT
based on this part ERR_TUNNEL_CONNECTION_FAILED i can guess that it’s really connected to your type of connection… Can try to upload images from any other computer? Public wifi or home/friend?
You definitely set everything right, i can upload image to your collection
I had a friend try it too, they were able to upload a photo. I will continue to work on it at home.
Any suggestions on how to get a confirmation message to appear?
I’ve tried using the link button to the lightbox, the code below I found on the forum, and even tried adding the submit messages in the Connect Button options.
import wixWindow from 'wix-window';
export function button1_click() {
wixWindow.openLightbox('submitLB');
}
You mean after submitting form? Without code, you can only use success/failure messages…
With code, you can substitute submit action. Write smth like this in onClick evnt handler:
import wixWindow from 'wix-window';
export function button1_click(event, $w) {
$w("#dataset1").save();
wixWindow.openLightbox('submitLB');
}
This will submit current changes in form and then open lightbox