Hello everyone,
we use the API in Proxmox quite extensively, especially the agent -> exec function to execute commands in VMs.
After upgrading from Proxmox 7 to Proxmox 8, this specific function no longer works properly, we get specifically:
array(2) {
["data"]=>
NULL
["errors"]=>
array(3) {
["command[0]"]=>
string(85) "property is not defined in schema and the schema does not allow additional properties"
["command[1]"]=>
string(85) "property is not defined in schema and the schema does not allow additional properties"
["command"]=>
string(42) "property is missing and it is not optional"
}
}
As per the documentation we noticed that strings are no longer accepted but arrays, but even reformatting the request, we get "null" as the response.
Here an example of a request payload working in PVE 7: [ "command": "touch test" ]
Could you please help us figure out how to modify the requests to work in PVE 8?
we use the API in Proxmox quite extensively, especially the agent -> exec function to execute commands in VMs.
After upgrading from Proxmox 7 to Proxmox 8, this specific function no longer works properly, we get specifically:
array(2) {
["data"]=>
NULL
["errors"]=>
array(3) {
["command[0]"]=>
string(85) "property is not defined in schema and the schema does not allow additional properties"
["command[1]"]=>
string(85) "property is not defined in schema and the schema does not allow additional properties"
["command"]=>
string(42) "property is missing and it is not optional"
}
}
As per the documentation we noticed that strings are no longer accepted but arrays, but even reformatting the request, we get "null" as the response.
Here an example of a request payload working in PVE 7: [ "command": "touch test" ]
Could you please help us figure out how to modify the requests to work in PVE 8?