Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 172707

No error content when a 500 error happens on the HTTP API

$
0
0
When interacting with the Proxmox HTTP API and submitting a request that produces an error (e.g. creating a VM with a "vmid" that is already taken, I am not getting any error message from the api.

Bash:
curl --request POST --url https://proxmox.acme/api2/json/nodes/pve-node1/qemu --header 'authorization: PVEAPIToken=root@pam!api=obfuscated-token' --header 'content-type: application/json' --data '{ "vmid":100}'

The following request produces a 500 error with content
JSON:
{"data": null}
...

Read more

Viewing all articles
Browse latest Browse all 172707

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>