# Govc import.ova fails with 'ovfSection.info.key' parameter error

**URL:** <https://forum.ansible.com/t/govc-import-ova-fails-with-ovfsection-info-key-parameter-error/5273>\
**Category:** Get Help\
**Tags:** vmware\
**Created:** [May 2, 2024, 8:26pm UTC](https://forum.ansible.com/t/govc-import-ova-fails-with-ovfsection-info-key-parameter-error/5273 "2024-05-02T20:26:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tlemons](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@tlemons](https://forum.ansible.com/u/tlemons)\
**Post date:** [May 2, 2024, 8:26pm UTC](https://forum.ansible.com/t/govc-import-ova-fails-with-ovfsection-info-key-parameter-error/5273/1 "2024-05-02T20:26:29Z")

</div>

Hi - I’m using the ‘govc import.ova’ function in an Ansible automation to deploy a VM into a vSphere environment. We have many Ansible automations that deploy VMs in our environment using ‘govc import.ova’. But a new automation fails inexplicably with the error message:

“govc: A specified parameter was not correct: ovfSection.info.key”

I’ve searched and can’t find any explanation for this parameter, and how to diagnose and correct this problem. Any thoughts? Thanks!

---

<div class="post-metadata">

**Author:** ![tlemons](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@tlemons](https://forum.ansible.com/u/tlemons)\
**Post date:** [May 3, 2024, 2:53pm UTC](https://forum.ansible.com/t/govc-import-ova-fails-with-ovfsection-info-key-parameter-error/5273/2 "2024-05-03T14:53:05Z")

</div>

Hi - a colleague provided the answer: “I think this issue stems from the fact that this ova was created in a vSAN Datastore.” I used a different .ova and the problem went away.

FYI  
tl
