Found the same error here https://f30.bimmerpost.com/forums/showthread.php?t=696777&page=106
You need to use the latest version ESYS 3.28.1, ESYS Launcher & PSdZDATA v.63.3
I strictly followed all the instructions from this link:
https://www.bmwesys.com/guides/Beginners%20Guide%20Coding.pdf