Hello,
I am writing on behalf of site: www.urbangame1.com.
When we execute a back end function we got an error: Uncaught (in promise).
We believe it is a problem when connectiong to Database and not on the specific function (of course we don’t know that).
Please this is hurry.
It would help if you post the code for the backend function and the page code that it is on, so that we can see what you have used.
Also, please post the full error message as Uncaught (in promise) can happen on various errors.
If you use the search function in this forum, you can find many previous posts about Uncaught (in promise) that might provide a solution to your issue, like this one for example.
https://www.wix.com/corvid/forum/community-discussion/backend-fetch-function-not-working-client-says-uncaught-in-promise
Depending on what you are trying to do in the backend function, note that you can always refer to the Wix API Reference to get more details and example codes.
https://www.wix.com/corvid/reference/
Along with Wix Support pages about certain Wix API too.
https://support.wix.com/en/article/corvid-accessing-third-party-services-with-the-fetch-api
https://support.wix.com/en/article/corvid-web-modules-calling-server-side-code-from-the-front-end
https://support.wix.com/en/article/corvid-exposing-a-site-api-with-http-functions
Have a read here too about working with Promises in Wix Corvid.
https://support.wix.com/en/article/corvid-working-with-promises