friendly error response for misformed urls