Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Error while sending push notification for Android

Avatar

Avatar
Springboard
Level 1
emil_rowland
Level 1

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Springboard
Establish
Validate 1
Give Back
Ignite 1
View profile

Avatar
Springboard
Level 1
emil_rowland
Level 1

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Springboard
Establish
Validate 1
Give Back
Ignite 1
View profile
emil_rowland
Level 1

25-11-2020

Hi,

 

When I try to send push notifications I get the following error in the delivery logs:

Error while compiling script 'nms:androidPushConnectorV2.js' line 1: syntax error (line='?/******************************************************************************\ ' token='?/******************************************************************************\ ').\ SCR-160032 Javascript: error while compiling script 'nms:androidPushConnectorV2.js'.\

 

I'm on build 9032, anyone else had the same issue and found a solution for it?

 

//Emil

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
wodnicki
MVP

Likes

976 likes

Total Posts

1,096 posts

Correct Reply

514 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile

Avatar
Establish
MVP
wodnicki
MVP

Likes

976 likes

Total Posts

1,096 posts

Correct Reply

514 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile
wodnicki
MVP

25-11-2020

Hi,

 

I've seen this before, I don't remember the cause (encoding?).

Delete the ? at the start before the / and you should be fine.

 

To disable the client console message saying it's not possible to modify the script, follow these steps:

  1. Change the name to nmsx:androidPushConnectorV2.js, or anything that's not nms, don't save!
  2. Delete offending char
  3. Change name back to nms, then save

 

Thanks,

-Jon

Answers (0)