Avoid 500 error when opening the notification url in the browser.