error handler and action in request urls