Hello everyone,
Im trying to add devices to a blacklist on the router via the API but this is the error I am getting when I send the command.
faultCode: “9003”
faultString: Invalid arguments
setParameterValuesFault:
- parameterName: Device.Firewall.Chain.2.Rule.3.X_TP_SourceMACAddress
faultCode: “9002”
faultString: Internal error - parameterName: Device.Firewall.Chain.2.Rule.3.X_TP_RuleName
faultCode: “9002”
faultString: Internal error - parameterName: Device.Firewall.Chain.2.Rule.3.Enable
faultCode: “9002”
faultString: Internal error
I don’t know why it says “Device.” when I sent the command as “InternetGatewayDevice.”
This is what I sent in the request:
{
name: ‘setParameterValues’,
parameterValues: [
[‘InternetGatewayDevice.Firewall.Chain.2.Rule.3.X_TP_RuleName’, deviceName],
[‘InternetGatewayDevice.Firewall.Chain.2.Rule.3.X_TP_SourceMACAddress’,macAddress],
[ ‘InternetGatewayDevice.Firewall.Chain.2.Rule.3.Enable’, true ]
]}
It will be much appreciated if someone can please help me.
Thanks