Comments (2)
from node-unifiapi.
I'm not sure if it helps, but I also sometimes get the following error:
SyntaxError: Unexpected token x in JSON at position 99422
at Object.parse (native)
at registerQ (/home/webdev/repos/ubiquity-toolkit/node_modules/node-unifiapi/lib/webrtc-request.js:417:63)
at _q.(anonymous function).forEach.n (/home/webdev/repos/ubiquity-toolkit/node_modules/node-unifiapi/lib/webrtc-request.js:45:49)
at Array.forEach (native)
at WRTC.fireQ (/home/webdev/repos/ubiquity-toolkit/node_modules/node-unifiapi/lib/webrtc-request.js:45:36)
at RTCDataChannel.channel.(anonymous function) [as onmessage] (/home/webdev/repos/ubiquity-toolkit/node_modules/node-unifiapi/lib/webrtc-request.js:255:26)
at /home/webdev/repos/ubiquity-toolkit/node_modules/wrtc/lib/eventtarget.js:32:26
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
I noticed that the output starts with undefined:1
when I console.log the error
Could it be that the data coming out of the cloud service is malformed?
from node-unifiapi.
Related Issues (20)
- WRTC not working on Azure HOT 3
- version without WebRTC? HOT 12
- Promise in creating the vouchers.. HOT 1
- Still dependent on wrtc HOT 8
- Bug in implementation of UnifiAPI.stat_sta_sessions_latest HOT 1
- UnifiAPI.stat_session function not allowing single mac filtering
- cloud access problems with 5.9 controller version
- Not Working on RPI HOT 1
- Authentication Error HOT 1
- Voucher creation - voucher for desired start and end active date ?
- Login problem to the unifi api - voucher creation example ? HOT 1
- Maybe typo in unauthorise_guest method HOT 1
- UbiOS not supported / Incorrect device count HOT 14
- 2FA not supported
- Merge with node-unifi?
- merge:^1.2.1 dependency, affected by sec vulnerability
- Running on an Issue with basic example
- Segmentation fault (core dumped) HOT 1
- Simple Example not working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-unifiapi.