Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Hephaistos Character Import woes :(

Hello All, I am working to import a character for a starfinder game I made in Hephaistos. They provide instructions here . I am experiencing my script erroring out when I go into a game and try to import.&nbsp; The error Roll20 gives my code is: Your scripts are currently disabled due to an error that was detected. Please make appropriate changes to your script's code and click the "Save Script" button. We will then attempt to start running the scripts again.&nbsp; More info... &nbsp;If this script was installed from the Mod Library, you might find help in the Community API Forum. For reference, the error message generated was:&nbsp; SyntaxError: Unexpected token { in JSON at position 1 SyntaxError: Unexpected token { in JSON at position 1 at JSON.parse (&lt;anonymous&gt;) at apiscript.js:2030:41 at eval (eval at &lt;anonymous&gt; (/home/node/d20-api-server/api.js:168:1), &lt;anonymous&gt;:65:16) at Object.publish (eval at &lt;anonymous&gt; (/home/node/d20-api-server/api.js:168:1), &lt;anonymous&gt;:70:8) at /home/node/d20-api-server/api.js:1762:12 at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560 at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147) at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546) at Id.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:489)&nbsp; SyntaxError: Unexpected token { in JSON at position 1 at JSON.parse (&lt;anonymous&gt;) at apiscript.js:2030:41 at eval (eval at &lt;anonymous&gt; (/home/node/d20-api-server/api.js:168:1), &lt;anonymous&gt;:65:16) at Object.publish (eval at &lt;anonymous&gt; (/home/node/d20-api-server/api.js:168:1), &lt;anonymous&gt;:70:8) at /home/node/d20-api-server/api.js:1762:12 at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560 at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147) at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546) at Id.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:489)&nbsp; at Ld.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:94:425) I am sorta out of my element here and not sure what needs to be corrected on the original source code OR is this refrence the command I am putting in once I am in a game. The installation of the script is successful and only becomes disabled once I boot up a game and run the command in the chat window to import the JSON data. Here is my Character Sheet on Hephaistos:&nbsp; <a href="https://hephaistos.azurewebsites.net/character/165323049" rel="nofollow">https://hephaistos.azurewebsites.net/character/165323049</a> You should be able to access the JSON data that I am trying to add into the command inside of chat. Any help anyone can provide would be great. Super grateful for any advice. Cheers! &nbsp;
You can probably get a quicker answer by going to the Feedback &gt; hephaistos_feedback channel on the Starfinder Discord server:&nbsp;<a href="https://discord.gg/starfinder" rel="nofollow">https://discord.gg/starfinder</a>
Excellent!! Thanks for the advice!