Too many provision cycles Fault

I’m having a problem with my inform script, which is causing my devices to create thousands of “too_many_cycles” faults when they reboot occasionally. My inform script is pretty simple, and is as follows:

log("Inform Script");

const now = Date.now();

declare("InternetGatewayDevice.ManagementServer.PeriodicInformEnable", {path: now, value: true});	
declare("InternetGatewayDevice.ManagementServer.PeriodicInformInterval", {path: now, value: 300});	

I have this inform set to occur periodically, see the following:

Thanks in advance!

Try this. In theory it shouldn’t make a difference, but there is no need to refresh these paths.

log("Inform Script");

declare("InternetGatewayDevice.ManagementServer.PeriodicInformEnable", {path: 1, value: true});	
declare("InternetGatewayDevice.ManagementServer.PeriodicInformInterval", {path: 1, value: 300});