404 on the homepage


My team and I have been getting 404 (only) on the homepage quite regularly. To fix it temporarily we have been redeploying the website in Vercel.
We have a hard time figuring out what is causing this error. Some of the errors that we have recieved quite a lot on Sentry are connected to prismicClient which we have in try and catch, we have recieved An invalid API response was returned and No documents are found.
But nothing has pointed us directly to the problem. Has anyone any idea what might be happening?

Thank you!

Hey @kinga.maria.rozanska, welcome to the community.
Maybe you need to manage the error page on the front end so that there's an alt page where it can fall whenever the page doesn't exist. You could also check if the build is being done correctly. Do you have automatic deploy triggers?