Mac value is blank! VMware

Problem:
I am trying to create a hosts to a VMmware esxi host (6.5) but it’s failing with error: mac value is blank!

I have seen some posts which mentions a patch, but it’s really old posts so I am wondering if anyone has fix for this?
Expected outcome:
VM get’s a mac address

Foreman and Proxy versions:
Foreman 3.2.1

Distribution and version:
Rocky 8