Uncaught Server Exception There was an error building this page

Trying to respond to RFQ using a link in email, all users get the message “Uncaught Server Exception
There was an error building this page”

Traceback (most recent call last):

File “apps/frappe/frappe/website/serve.py”, line 17, in get_response
endpoint, renderer_instance = path_resolver.resolve()
File “apps/frappe/frappe/website/path_resolver.py”, line 40, in resolve
endpoint = resolve_path(self.path)
File “apps/frappe/frappe/website/path_resolver.py”, line 145, in resolve_path
path = resolve_from_map(path)
File “apps/frappe/frappe/website/path_resolver.py”, line 157, in resolve_from_map
return evaluate_dynamic_routes(rules, path) or path
File “apps/frappe/frappe/website/router.py”, line 71, in evaluate_dynamic_routes
endpoint, args = urls.match(“/” + path)
File “env/lib/python3.10/site-packages/werkzeug/routing/map.py”, line 601, in match
raise RequestRedirect(
werkzeug.routing.exceptions.RequestRedirect: 308 Permanent Redirect: https://hidden.domain.com/app/rfq/PUR-RFQ-2023-00004

before this step take backup yourself and access server terminal fire migration command using bench.

Thank you, pra17shant. I have done as you mentioned, but there is no change in the behavior. I also tested this on a fresh docker-based install and I get the same error. To me, the URL seems to be malformed in the email to the supplier. Should it have two slashes?
Here is what it looks like https://host.domain.com/app//rfq/PUR-RFQ-2023-00005

  • Ed

@eroth

Are you able to solve this problem?
If yes then how?

No, the problem has not been resolved.

Can anyone help us to overcome this problem?