LPS-36535 handle exceptions when deleting a page using JSON