Thanks to M.Deinum, I learned that: In case of an error, it redirects to /error. I made a few modifications and it worked.