Revert "trying to send the error document to a URL router to resolve it"
This reverts commit 99ad1af419364059b1c9eb5c462f734df5aeb7e6.