[GH-ISSUE #13] _root is not defined in scheme. Occuring in SetVmConfig post request, using terraform-proxmox-provider. #4

Closed
opened 2026-02-28 00:40:08 +03:00 by kerem · 0 comments
Owner

Originally created by @mjdall on GitHub (Nov 10, 2018).
Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/13

vmParams: map[description: onboot:false sockets:1 cores:1 memory:1024 0:media=disk,size=32,file=local-lvm:vm-103-disk-1 net0:macaddr=XX:XX:XX:XX:XX:XX,bridge=vmbr0,model=virtio]

response: &{400 Parameter verification failed. 400 HTTP/1.1 1 1 map[Date:[Day xx Nov xxxx xx:xx:xx xxx] Pragma:[no-cache] Server:[pve-api-daemon/3.0] Content-Length:[120] Content-Type:[application/json;charset=UTF-8] Expires:[Day, xx Nov xxxx xx:xx:xx xxx] Cache-Control:[max-age=0]] {{"errors":{"_root":"property is not defined in schema and the schema does not allow additional properties"},"data":null}} 120 [] true false map[] 0xc000228e00 0xc00028e8f0}

Also your vmParams net0 interface is using "type" instead of "model", throws a param verification error also

Originally created by @mjdall on GitHub (Nov 10, 2018). Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/13 vmParams: map[description: onboot:false sockets:1 cores:1 memory:1024 0:media=disk,size=32,file=local-lvm:vm-103-disk-1 net0:macaddr=XX:XX:XX:XX:XX:XX,bridge=vmbr0,model=virtio] response: &{400 Parameter verification failed. 400 HTTP/1.1 1 1 map[Date:[Day xx Nov xxxx xx:xx:xx xxx] Pragma:[no-cache] Server:[pve-api-daemon/3.0] Content-Length:[120] Content-Type:[application/json;charset=UTF-8] Expires:[Day, xx Nov xxxx xx:xx:xx xxx] Cache-Control:[max-age=0]] {{"errors":{"_root":"property is not defined in schema and the schema does not allow additional properties"},"data":null}} 120 [] true false map[] 0xc000228e00 0xc00028e8f0} Also your vmParams net0 interface is using "type" instead of "model", throws a param verification error also
kerem closed this issue 2026-02-28 00:40:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-api-go#4
No description provided.