# API does not work with error parameter

**URL:** <https://forum.genieacs.com/t/api-does-not-work-with-error-parameter/724>\
**Category:** Uncategorized\
**Created:** [April 21, 2020, 9:14am UTC](https://forum.genieacs.com/t/api-does-not-work-with-error-parameter/724 "2020-04-21T09:14:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JinHua](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@JinHua](https://forum.genieacs.com/u/JinHua)\
**Post date:** [April 21, 2020, 9:14am UTC](https://forum.genieacs.com/t/api-does-not-work-with-error-parameter/724/1 "2020-04-21T09:14:35Z")

</div>

I send a post request(use error parameter SSID00000) with python to the API, capture the packets at the same time ,there is no packet to setParameterValues  
url:[http://10.182.33.244:7557/devices/EC8AC7-HG6543C4-FHTT46000180/tasks?connection\_request](http://10.182.33.244:7557/devices/EC8AC7-HG6543C4-FHTT46000180/tasks?connection_request)  
data:{  
“name”: “setParameterValues”,  
“parameterValues”: [  
[“InternetGatewayDevice.LANDevice.1.WLANConfiguration.1. **SSID00000** ”, “wifi”, “xsd:string”],  
[“InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.PreSharedKey.1.PreSharedKey”, “hello world”, “xsd:string”]  
]  
}

But i can capture packets when use correct parameters(InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID").

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [April 21, 2020, 3:13pm UTC](https://forum.genieacs.com/t/api-does-not-work-with-error-parameter/724/2 "2020-04-21T15:13:56Z")

</div>

This is by design. GenieACS will not send any get/set param values to the CPE that the CPE doesn’t report in a get param name request.

---

<div class="post-metadata">

**Author:** ![JinHua](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@JinHua](https://forum.genieacs.com/u/JinHua)\
**Post date:** [April 22, 2020, 12:55am UTC](https://forum.genieacs.com/t/api-does-not-work-with-error-parameter/724/3 "2020-04-22T00:55:54Z")

</div>

My test case needs to test error parameter , could you modify the source code to achieve this function , if possible , could you tell me how to modify it .  
Thinks .
