Sharegate displays the following error while deleting a list :
This list cannot be deleted. This might happen if this list contains an item on hold or declared as a record.
Any error code ending with: -251
SharePoint does not allow the deletion of lists in some conditions.
- The list contains an element declared as a record.
- The list contains an element on hold.
If you are trying to delete a list containing at least one element declared as a record, you must undeclare all the items that are declared as records before deleting the list that contains them.