The correct answer is never: it’s never acceptable to cancel a sprint in the middle of a project. In the rare event of a sprint cancelation, it’s because the product has become obsolete. A sprint would not be canceled in the middle of
a project when a customer requests a change; when the product owner says it’s ok; when the work scope changes.