Darkim said:
Hi,
I hope this is the correct place for this:
I get this error Message everytime I upload a new token into the game, and when I move the token or change it.
This is my current configuration:
The API-Console output is as following:"TypeError: Cannot read property 'id' of undefined\n at mookHandler (apiscript.js:3176:95)\n at graphicHandler (apiscript.js:3201:17)\n at RegisterEventHandlers.on (apiscript.js:3349:46)\n at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:146:1), <anonymous>:65:16)\n at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:146:1), <anonymous>:70:8)\n at TrackedObj.set (/home/node/d20-api-server/api.js:909:14)\n at updateLocalCache (/home/node/d20-api-server/api.js:1194:18)\n at /home/node/d20-api-server/api.js:1378:11\n at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560\n at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147)"
What am I doing wrong?
Im having the same issue. Script Starts up fine but after errror I get the following message in Api Output Console
"TypeError: Cannot read property 'id' of undefined\n at mookHandler (apiscript.js:3176:95)\n at graphicHandler (apiscript.js:3201:17)\n at RegisterEventHandlers.on (apiscript.js:3349:46)\n at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:146:1), <anonymous>:65:16)\n at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:146:1), <anonymous>:70:8)\n at TrackedObj.set (/home/node/d20-api-server/api.js:909:14)\n at updateLocalCache (/home/node/d20-api-server/api.js:1194:18)\n at /home/node/d20-api-server/api.js:1378:11\n at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560\n at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147)"