Unauthorized 401: Invalid System ID

I have a script running for several months now that uploads my energy values from my Domoticz system to PVoutput. A few days back I changed something to the script and suddenly it stopped working. The error I get is “Unauthorized 401: Invalid System ID” Although I did not change it I triple checked it but found it correct. I also put back a backup of the script but the error stays the same. My system ID is 24298.

Does someone have an idea what to check?

For more information about the script see last page of my question on the domoticz topic.

Is there possibility that my account is blocked for some reason? Because after hours trying i’m quite confidence that my script is correct. I also generated a new api key but the error stays the same.

Problem fixed. It was a issue within domoticz, see link below.