Closed misteradamx closed 2 weeks ago
From documentation.
{$UNIFI.API.AUTH.TOKEN}: change to unifises if using unifi controller vm
That explicitly says "unifi controller vm", I am not using a VM, I am using a UDM SE.
Preprocessing failed for: {"header":{"HTTP/2 200":"","server":"nginx","date":"Tue, 05 Nov 2024 04:07:06 GMT","content-type"...
1. Failed: cannot perform regular expression "unifises=([^;]+);" match for value of type "none": pattern does not match
Checklist
Describe the Bug
Getting the following error: ` Preprocessing failed for: {"header":{"HTTP/2 200":"","server":"nginx","date":"Fri, 01 Nov 2024 05:32:34 GMT","content-type"...
I used
curl -k -X POST --data '{"username": "root", "password": "$password"}' --header 'Content-Type: application/json' -c cookie.txt https://192.168.1.1:443/api/auth/login
to get the Token. Is there a better method?MACROS
Context
main
7.0.5
8.5.6 or UniFi OS 4.0.21
Dream Machine SE