On unlock or flashing a bios mod on that peculiar model?
The Intel FPT error 167 is more than documented in the forum…
If the FD is not unlocked, till then the FPT tool can write anything.
On AMI V bios files this method cant be used:
[TOOL] UEFI Editor - BIOS/UEFI Modding / BIOS Modding Guides and Problems - Win-Raid Forum (level1techs.com)