There are certain circumstances where the right to erasure does not apply, such as:
When data processing is necessary for exercising the right of freedom of expression and information. For compliance with a legal obligation. For reasons of public interest in the area of public health. For archiving purposes in the public interest, scientific or historical research, or statistical purposes. For the establishment, exercise, or defense of legal claims.