Where can find more error detail

I am receiving this message from the logs of my site. Trying to figure-out what is the problem.

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>F1FHSX499T7YEDNC</RequestId>
<HostId>fyMDmw1ytgkjfLQmQIYF5/p5/Y0cWcGfiajOaS1A1MoQNdnvgWpkO7JIHmnyers2gt6YyEPEwqc=</HostId>
</Error>

I give access to almost all my collections to everyone. And still continue receiving the error.
Can anyone tell me where I could find more info on this error:

Here is the overall object error message log:

"root":{"insertId":"..........DhyYF6xiG1dcBT_T1EFRHf"
"timestamp":"2022-01-15T13:35:23.133Z"
"severity":"ERROR"

"labels":{"siteUrl":"https://www.cpappm.com"
"namespace":"Velo"
"tenantId":"160d90d4-71a8-4ef0-8843-1d4b4f865dfb"
"viewMode":"Site"
"revision":"1489"
}

"operation":{"id":"..........Eijwp2YTt9p8X8pF3HVSAJ"
"producer":"/intégrité-réservation"
"first":false
"last":false
}

"sourceLocation":{}

"jsonPayload":{"message":"Error at i (https://static.parastorage.com/services/wix-code-platform/1.964.0/elementory-browser-support.min.js:1:2997) at XMLHttpRequest.n.onreadystatechange (https://static.parastorage.com/services/wix-code-platform/1.964.0/elementory-browser-support.min.js:1:3617)"
}
"receiveTimestamp":"2022-01-15T13:35:25.096Z"
}
1 Like

What are you trying to do? Where in your code is this occurring?

@yisrael-wix It happen after one of my transaction reach the 14 seconds limit time of execution.

I do not receive this error when the process was able to end prior the 14 seconds limits

/backend/integrity.jsw/rptIntegrity timed out because it exceeded the maximum execution time.

@youge There is no way to lift the 14 sec front end timeout. You will have to do a bit a rewriting. What usually helps is this. Instead of doing something like this from the frontend:

myFoo = await doAllWork(param1, param2);

with at the backend (.jsw or .js file) something like:

async function doAllWork (p1, p2){
	let res1 = await step1(p1, p2);
	let res2 = await step2(p1, p2);
	let res3 = await step3(p1, p2);
	return res3;
}

do something like this at the frontend:

	let res1 = await step1(p1, p2);
	let res2 = await step2(p1, p2);
	let res3 = await step3(p1, p2);

This way, you get 14 secs per call (3 in total) instead of 14 in total doing 1 call to the backend.

Also, have a close look at using async/await. Sometimes it is not necessary to wait for something to finish. So you can use .then instead of async/await.