Hi there,
the app crashes if i have a second building location of another location.
i try to explain it with this tree:
root-node (i.e.: company name)
-node1 (i.e.: city A)
--building1
---floor_5
---floor_6
-node2 (i.e.: city B)
--building2
If i have building2 (with or without floor childrens) the app crashes, if i remove building2 the app works... unfortunately i have more locations and buildings to manage in my HiveManager NG.
It seems an API call returned an html response but i'm not able to track which one.
Here are the exit errors:
`STATUS 400
HEADERS: {"content-type":"text/html","date":"Fri, 04 Mar 2016 09:37:37 GMT","server":"nginx","content-length":"166","connection":"keep-alive"}
undefined:1
<html>
^
SyntaxError: Unexpected token <
at Object.parse (native)
at IncomingMessage. (/home/sandro/AnalyticsRef-master/bin/aerohive/api/req.js:36:37)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
`
I hope you can have a look at this.
Regards,
Sandro
Hi there,
the app crashes if i have a second building location of another location.
i try to explain it with this tree:
root-node (i.e.: company name)
-node1 (i.e.: city A)
--building1
---floor_5
---floor_6
-node2 (i.e.: city B)
--building2
If i have building2 (with or without floor childrens) the app crashes, if i remove building2 the app works... unfortunately i have more locations and buildings to manage in my HiveManager NG.
It seems an API call returned an html response but i'm not able to track which one.
Here are the exit errors:
`STATUS 400
HEADERS: {"content-type":"text/html","date":"Fri, 04 Mar 2016 09:37:37 GMT","server":"nginx","content-length":"166","connection":"keep-alive"}
undefined:1
<html>
^
SyntaxError: Unexpected token <
at Object.parse (native)
at IncomingMessage. (/home/sandro/AnalyticsRef-master/bin/aerohive/api/req.js:36:37)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
`
I hope you can have a look at this.
Regards,
Sandro