[SOLVED] API 401 Issues

ypxm1

New Member
May 18, 2024
2
0
1
Hello,

I have setup a new single node cluster for now and testing out somethings. I`m trying to run Dashy and monitor the PVE. But I keep getting 401s.
Here is the Curl command I was testing with. I did verify that API token has all permissions.

curl -k -H 'Content-Type: application/json' -H 'Authorization: PVEAPIToken=root@pam!TOKENID=c0065e8c-9019-41a4-b2c7-2053952d3e90' https://192.168.1.225:8006/api2/json/nodes

and in PVE I keep getting this.

192.168.1.230 - - [18/05/2024:17:52:58 -0400] "GET /api2/json/nodes HTTP/1.1" 401

What am I doing wrong, is there anywhere else I have to allow permissions for the token ?

TIA !
 

About

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!