I used api to setparametervalues for a non-exist parameter, but no error returned

Hi All,
I used curl to setparametervalues for a non-exist parameter, but no error returned.

curl -i ‘’ -X POST --data ‘{“name”: “setParameterValues”, “parameterValues”: [[“Device.ManagementServer.Upgrades.1”,1]]}’
HTTP/1.1 200 OK
GenieACS-Version: 1.2.5+20210312233623
Content-Type: application/json
Date: Thu, 09 Sep 2021 07:44:13 GMT
Connection: keep-alive
Keep-Alive: timeout=5
Transfer-Encoding: chunked


Can you be more specific about what you are trying to do? Are you trying to set a parameter that the vendor doesn’t expose via discovery but still allows you to set? If so, genieacs doens’t support that.

From looking at the parameter values you are trying to set, you need to add an instance first. To the best of my knowledge, this can only be accomplished via provision scripts.

Device.ManagementServer.Upgrades is a boolean parameter.

If I set this parameter to string data, like this:
curl -i ‘’ -X POST --data ‘{“name”: “setParameterValues”, “parameterValues”: [[“Device.ManagementServer.UpgradesManaged”,test]]}’

I got this response: curl: (52) Empty reply from server

I can’t get the error code 9007 INVALID_PARAMETER_VALUE.

You are getting the error because you are sending a random unquoted string instead of a boolean value.

curl -i '' -X POST --data '{"name": "setParameterValues", "parameterValues": [["Device.ManagementServer.UpgradesManaged", true]]}'

Also, please use triple backticks ``` on a new line to create code blocks when you are pasting commands into the forum. This way Discuss doesn’t turn normal quotes into curly quotes.