Support Topics Documentation Slack YouTube Blog

Server error code


(zeev mindali) #1

hello to all,

I got this error today on my log, I never had this error before:

{ Error: Invalid category name: רמתגן
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: ‘Sun, 23 Dec 2018 06:59:30 GMT’,
‘content-type’: ‘application/json’,
‘content-length’: ‘74’,
connection: ‘close’,
‘access-control-allow-origin’: ‘’,
‘access-control-allow-headers’: ‘origin, application-id, application-type, content-type, secret-key, request, user-token’,
‘access-control-allow-methods’: ‘POST, GET, OPTIONS, PUT, DELETE, PATCH’ },
message: ‘Invalid category name: רמתגן’,
code: 4031 }
2018-12-23 06:59:30,334 | SERVER_CODE | INFO | [3983] { Error: Invalid category name: רמתגן
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: ‘Sun, 23 Dec 2018 06:59:30 GMT’,
‘content-type’: ‘application/json’,
‘content-length’: ‘74’,
connection: ‘close’,
‘access-control-allow-origin’: '
’,
‘access-control-allow-headers’: ‘origin, application-id, application-type, content-type, secret-key, request, user-token’,
‘access-control-allow-methods’: ‘POST, GET, OPTIONS, PUT, DELETE, PATCH’ },
message: ‘Invalid category name: רמתגן’,
code: 4031 }


(Mark Piller) #2

Hello,

How can we reproduce the problem?

Regards,
Mark


(zeev mindali) #3

Error: Invalid category name: רמתגן

I think this is the issue, category can’t be in other languages?


(Mark Piller) #4

Are you talking about geo categories?


(zeev mindali) #5

it seems like the geo point.


(Sergey Chupov) #6

I think Mark was trying to know if that’s a response to some specific request? If yes, what was the request, so that we could reproduce it?

I think this is the issue, category can’t be in other languages?
It should be possible to set any utf8 character in the category name (with some sanity restrictions like no whitespace, no number in the beginning etc.).


(zeev mindali) #7

I will try to produce and send you the way