Three possible contents of the state file: an empty file returns the default state, an object is decoded, an array fails the untaint regex and raises the error every minute
Proxmox

Proxmox pvescheduler logs « invalid json data in pve-replication-state.json » every minute when the file holds [] instead of {}

The replication state loader only accepts an empty file or a JSON object. A two-byte [] fails its untaint regex once a minute. Writing {} stops it.