Error: Failed importing MACHINE_NAME_HERE: Failed creating instance record: Unknown configuration key: volatile.cloud-init.instance-id

It sounds like you were trying to import an export from a newer version of LXD into an older version of LXD.

They can both be installed from snap but following different version channels.

See Managing the LXD snap