Hi Juan Jose Santacruz,
This error describes that the product from the Lot you have selected in the delivery and the product in the delivery are different.
You must check the delivery and the Lot product must be same.
Updated Ans.
Yes, you can open the delivery of the sale order and select the Lot selection button as per the shown in the below screenshots, It will open a lot configure wizard.

It will open the wizard like the below screenshots.

Also you can directly check all the lots you have created from the Inventory --> Products --> Lots/Serial Numbers. Here you can find or create your product lot.

You can check the lot product and the Delivery product must be the same.
Hope it will help you.
Up vote Please.