Page 1 of 1

update device service error

Posted: Fri Dec 27, 2013 8:16 pm
by Douwe Wullink6159034

Hi,

trying to get PUSH working with channels. Using 'update device' to update channel array. However get an error
{"code":"PNDU252","description":"Invalidvaluefortype'array':'[1,3]'."}
The request header is attached.
please help. Image


update device service error

Posted: Fri Dec 27, 2013 8:41 pm
by maxkatz

How do you create the channels payload? I think it's being sent as a string.. try [1,3] -- without quotes.


update device service error

Posted: Fri Dec 27, 2013 8:52 pm
by Douwe Wullink6159034

Ok, now it works when using the channels parameter as straight array.
Documentation is a little obscure on using channels, but ok, got it working now.
Thnx!


update device service error

Posted: Fri Dec 27, 2013 8:55 pm
by maxkatz

I already asked our Docs team to update the docs with this example.