API response: "errors":{"newid":"property is missing and it is not optional"}


New Member
Jun 13, 2023
I would like to clone a server this is the API-Endpoint https://X.X.X.X:8006/api2/extjs/nodes/proxmox/qemu/100/clone,
And here is the request code:
const options = {
  rejectUnauthorized: false,
  headers: {
    "Authorization": "PVEAPIToken=root@pam!admin=XxXxXxXxXxXxXxXxXxXxXxXxXx"
  "body": "newid=103&target=proxmox&full=1",
  "method": "POST"

The response is:
Response status code: 400 Parameter verification failed. Response body: {"data":null,"errors":{"newid":"property is missing and it is not optional"}}
Last edited:
What library/framework do you use – without that information it's hard to tell if you direct it correctly w.r.t. assembling the request header and/or body...


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!