Currently error page is json by default. but when using url-encoded method, create an error page with human readable page