Hi,
I’m running into issues when using the API. When I try to get two responses in short time, the second call ends just in a “undefined”.
It’s not important if that are two different calls or the same in short time.
When I wait maybe a minute I get valid answers again.
My weapon of choice is a Blockly in iobroker JavaScript adapter.
For example, I use a EXEC Block with:
curl -X GET -H 'Authorization: PVEAPIToken=xxx@pve!xxx=1234' "https://192.168.69.xxx:8006/api2/json/nodes/KellerBackup-Proxmox/tasks?source=active" --insecure
And the second maybe:
curl -X GET -H 'Authorization: PVEAPIToken=xxx@pve!xxx=1234' "https://192.168.69.xxx:8006/api2/json/nodes/KellerBackup-Proxmox/status --insecure
Is there any call capping and how can I reduce it to get several API answers also in short time?
Best regards
I’m running into issues when using the API. When I try to get two responses in short time, the second call ends just in a “undefined”.
It’s not important if that are two different calls or the same in short time.
When I wait maybe a minute I get valid answers again.
My weapon of choice is a Blockly in iobroker JavaScript adapter.
For example, I use a EXEC Block with:
curl -X GET -H 'Authorization: PVEAPIToken=xxx@pve!xxx=1234' "https://192.168.69.xxx:8006/api2/json/nodes/KellerBackup-Proxmox/tasks?source=active" --insecure
And the second maybe:
curl -X GET -H 'Authorization: PVEAPIToken=xxx@pve!xxx=1234' "https://192.168.69.xxx:8006/api2/json/nodes/KellerBackup-Proxmox/status --insecure
Is there any call capping and how can I reduce it to get several API answers also in short time?
Best regards