Okay it turns out that opnsenseWGName was the issue. I named it PIA_toronto, which apparently was causing the script to pull my existing PIA config from OPNsense. When the script asked for a new wireguard key (using an existing WG public key), PIA refused the creation and caused the script to fail.So, I changed opnsenseWGName to PIACA, and it created the interface just fine.Not sure if the API doesn't like the underscore or the small caps ... but removing both allowed me to move forward!
/conf/PIAWireguard.py debug
searchServer request failed non 200 status code - listing wireguard instances