# API SetParameterValues failed

**URL:** <https://forum.genieacs.com/t/api-setparametervalues-failed/6254>\
**Category:** Uncategorized\
**Created:** [December 3, 2024, 3:31am UTC](https://forum.genieacs.com/t/api-setparametervalues-failed/6254 "2024-12-03T03:31:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ray](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@Ray](https://forum.genieacs.com/u/Ray)\
**Post date:** [December 3, 2024, 3:31am UTC](https://forum.genieacs.com/t/api-setparametervalues-failed/6254/1 "2024-12-03T03:31:53Z")

</div>

![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/d/de9c7a68c2d2dd2d51ddb4adff5885d535470720.png)  
SetParameterValues failed with prompt curl: (52) Empty reply from server

```auto
ansen@unificontroller:~$ curl -X POST 'http://localhost:7557/devices/107C61-RT%252DAX52-107C6198723C/tasks?timeout=3000&connection_request' --data '{"name": "setParameterValues", "parameterNames": ["Device.IP.Diagnostics.SpeedTest.DiagnosticsState","Requested"]}'
curl: (52) Empty reply from server
ansen@unificontroller:~$ curl -X POST 'http://localhost:7557/devices/107C61-RT%252DAX52-107C6198723C/tasks?timeout=3000&connection_request' --data '{"name": "setParameterValues", "parameterNames": ["Device.IP.Diagnostics.SpeedTest.DiagnosticsState","Requested","xsd:string"]}'
curl: (52) Empty reply from server

```

There is another issue, getParameterValues cannot obtain the actual value

```auto
ansen@unificontroller:~$ curl -X POST 'http://localhost:7557/devices/107C61-RT%252DAX52-107C6198723C/tasks?timeout=3000&connection_request' --data '{"name": "getParameterValues", "parameterNames":["Device.IP.Diagnostics.SpeedTest.ResultFile"] }'
{"name":"getParameterValues","parameterNames":["Device.IP.Diagnostics.SpeedTest.ResultFile"],"device":"107C61-RT%2DAX52-107C6198723C","timestamp":"2024-12-03T03:31:11.217Z","_id":"674e7b7f13ebd4009749701b"}

```
