SNMP4j SET request throwing error 'Bad Value', errorStatus - 3, errorIndex - 1

Hello,

I am getting error (Bad Value) during set a integer value to an OID. I am successfully getting the values from snmpGet. As well as, I can successfully set the same integer value from iReasoning MIB Browser. Please refer the below screen shot while I’m debugging my code.

image

Thanks in advance for your help

It seems that you are setting an OctetString instead of an Integer32. That is what the error status explains.