Hi! I’m trying to make a booking dashboard where I can click accept or dismiss for appointments. I am running this line of code to update the status of the booking:
wixData.update("pendingRequests", itemData);
and keep getting an error message saying “WDE0025: The pendingRequests collection does not exist. You cannot work with a collection using the Data API before it is created in the Editor.”
Am I doing something wrong? Is “pendingRequests” not my collection name?
Please help