andreas-stuerz / opn-cli

CLI for OPNsense Firewall using API Requests
BSD 2-Clause "Simplified" License
45 stars 8 forks source link

getting Error: {'API client': JSONDecodeError('Expecting value: line 1 column 1 (char 0)')} on opnsense 23.7.7 #48

Open matso42 opened 10 months ago

matso42 commented 10 months ago

I'm trying to use this to manage host overrides in OPNsense from Windows (Win10 LTSC 22) with python 3.12 (64 bit)

Using a known working key/secret I get {'API client': JSONDecodeError('Expecting value: line 1 column 1 (char 0)')} when running opn-cli unbound host create --hostname '*' --domain example.com --rr A --server 192.168.1.254