Douwe Wullink6159034
Posts: 0
Joined: Tue Aug 20, 2013 7:13 am

update device service error

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

update device service error

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

Douwe Wullink6159034
Posts: 0
Joined: Tue Aug 20, 2013 7:13 am

update device service error

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!

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

update device service error

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

Return to “Issues”