Support Topics Documentation Slack YouTube Blog

Push notification from codeless


(zeev mindali) #1

trying to send push

getting error :
{ Error: Wrong json format: Cannot deserialize instance of java.util.ArrayList out of VALUE_STRING token at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.backendless.messaging.PublishMessageInfo[“pushSinglecast”]) at new ResponseError (/var/lib/backendless/nodejscoderunner/node_modules/backendless-request/lib/index.js:38:116) at checkStatus (/var/lib/backendless/nodejscoderunner/node_modules/backendless-request/lib/index.js:229:23) at process._tickDomainCallback (internal/process/next_tick.js:135:7) status: 400, headers: { server: ‘nginx’, date: ‘Mon, 14 Jan 2019 12:36:20 GMT’, ‘content-type’: ‘text/plain; charset=UTF-8’, ‘content-length’: ‘231’, connection: ‘close’, ‘access-control-allow-origin’: ‘*’, ‘access-control-allow-methods’: ‘POST, GET, OPTIONS, PUT, DELETE, PATCH’ }, message: ‘Wrong json format: Cannot deserialize instance of java.util.ArrayList out of VALUE_STRING token\n at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.backendless.messaging.PublishMessageInfo[“pushSinglecast”])’, code: undefined }


(zeev mindali) #2

figure it out, need to make list with the same mobile device twice, me happy, for me it’s working :slight_smile:


(Vladimir Upirov) #3

Hi zeev

Could you please print value of “Get Request Object Property” block where “select property” is “mobileId”?

Device Ids must be an array, but looks like it’s just a string.

Thanks, Vlad