What security levels does your token have? It has to be given a permission that has read access to the gateway:
In /app/platform/security/settings
:
In /app/platform/security/api-keys
:
curl -H 'X-Ignition-API-Token: test:xxx' http://localhost:8088/data/api/v1/gateway-info
Returns:
{
"allowUnsignedModules": true,
"deploymentMode": "",
"edition": "standard",
"hostname": "localhost",
"ignitionVersion": "(Dev Version)",
"jvmVersion": "17.0.15",
"license":
{
"expirationDate": "Jul 29, 2025, 11:46:15 AM",
"licenseRestrictions":
[],
"mode": "Trial",
"validForVersion": 0
},
"name": "Ignition-DV-pgriffith-MBP",
"port": "8088",
"redundancyRole": "Independent",
"timeZone": "Pacific Standard Time",
"timeZoneId": "America/Los_Angeles"
}