Re: set parameter values via API, I’m receiving a "Maximum call stack size exceeded"

Scott Miller cubicalmonkey at gmail.com
Mon Mar 20 09:26:05 EDT 2017


DOH!

I typo'd and capitalized the S in setParameterValues, I've corrected that
and appears to have been my issue.


{"name":"setParameterValues","parameterValues":[["InternetGatewayDevice.
LANDevice.1.WLANConfiguration.1.SSID","SuperChickenGOGO"]]}

On Mon, Mar 20, 2017 at 9:08 AM, Scott Miller <cubicalmonkey at gmail.com>
wrote:

> Hi,
> When trying to set parameter values via API, I’m receiving a "Maximum call
> stack size exceeded" message.
> Anyone have any advice on what I could be doing wrong here?
>
>
>
> Below is what I’m sending:
> {"name":"SetParameterValues","parameterValues":[["InternetGatewayDevice.
> LANDevice.1.WLANConfiguration.1.SSID","SuperChickenGOGO"]]}
>
> Returned message:
> 2017-03-20T13:08:57.437Z [ERROR] Uncaught exception;
> exceptionName="RangeError" exceptionMessage="Maximum call stack size
> exceeded" exceptionStack="RangeError: Maximum call stack size exceeded\n
> at Object.rpcRequest (/opt/genieacs/lib/session.js:676:22)\n    at
> nextRpc (/opt/genieacs/lib/cwmp.js:420:18)\n    at
> /opt/genieacs/lib/cwmp.js:536:14\n    at Object.rpcRequest
> (/opt/genieacs/lib/session.js:682:12)\n    at nextRpc
> (/opt/genieacs/lib/cwmp.js:420:18)\n    at /opt/genieacs/lib/cwmp.js:536:14\n
> at Object.rpcRequest (/opt/genieacs/lib/session.js:682:12)\n    at
> nextRpc (/opt/genieacs/lib/cwmp.js:420:18)\n    at
> /opt/genieacs/lib/cwmp.js:536:14\n    at Object.rpcRequest
> (/opt/genieacs/lib/session.js:682:12)"
> 2017-03-20T13:09:27.472Z [ERROR] Worker died; pid=32066 exitCode=7
> 2017-03-20T13:09:28.324Z [INFO] Worker listening; pid=32097
> address="0.0.0.0" port=7547
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170320/c520fda0/attachment.html>


More information about the Users mailing list