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

[Script] [Beta] BeyondImporter - Import DNDBeyond Character Sheets.

Perdita said: Sean said: Interesting: I am getting a "Page Not Found" error for all /json URLs now - anybody else having that problem? &nbsp;&nbsp;&nbsp;&nbsp; Having the same issue. See <a href="https://app.roll20.net/forum/permalink/8820292/" rel="nofollow">https://app.roll20.net/forum/permalink/8820292/</a> earlier in this page that covers this issue.
In my case, it's just not working either way.&nbsp; I have created new character in dndbeyond, and it still doesnt work. Seem like Dndbeyond changed their character sheet system.
1597334135

Edited 1597335668
Hmm, so I've followed the instructions, but nothing seems to happen. I've given plenty of time to let the importer do its thing (counting some 10min now) to update a character sheet, but it remains as blank as ever. It seems to be caused by a script error, I'll go ahead and post a issue on the github. TypeError: Cannot read property 'name' of undefined TypeError: Cannot read property 'name' of undefined at apiscript.js:179:82 at eval (eval at &lt;anonymous&gt; (/home/node/d20-api-server/api.js:154:1), &lt;anonymous&gt;:65:16) at Object.publish (eval at &lt;anonymous&gt; (/home/node/d20-api-server/api.js:154:1), &lt;anonymous&gt;:70:8) at /home/node/d20-api-server/api.js:1661: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) at Zd.Ld.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:94:425) at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:111:400
I was just able to import a newly created, level 1, wood elf ranger from dndbeyond. I will try more experienced characters tomorrow. If you post an issue, also attach the json that doesn't work as a file; that may help debug
1597696406

Edited 1597698215
I'm getting the same error as above, though I'll try it with other characters. TypeError: Cannot read property 'name' of undefined TypeError: Cannot read property 'name' of undefined at apiscript.js:179:82 at eval (eval at &lt;anonymous&gt; (/home/node/d20-api-server/api.js:154:1), &lt;anonymous&gt;:65:16) at Object.publish (eval at &lt;anonymous&gt; (/home/node/d20-api-server/api.js:154:1), &lt;anonymous&gt;:70:8) at /home/node/d20-api-server/api.js:1661: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) at Zd.Ld.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:94:425) at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:111:400 E: I got it to work using&nbsp; <a href="https://github.com/kjbro/Roll20APIScripts/blob/master/BeyondImporter_5eOGL/BeyondImporter.js" rel="nofollow">https://github.com/kjbro/Roll20APIScripts/blob/master/BeyondImporter_5eOGL/BeyondImporter.js</a> &nbsp;flawlessly. Great stuff!
Does this script import only work as a DM?&nbsp;
Cat said: I'm getting the same error as above, though I'll try it with other characters. TypeError: Cannot read property 'name' of undefined TypeError: Cannot read property 'name' of undefined at apiscript.js:179:82 at eval (eval at &lt;anonymous&gt; (/home/node/d20-api-server/api.js:154:1), &lt;anonymous&gt;:65:16) at Object.publish (eval at &lt;anonymous&gt; (/home/node/d20-api-server/api.js:154:1), &lt;anonymous&gt;:70:8) at /home/node/d20-api-server/api.js:1661: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) at Zd.Ld.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:94:425) at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:111:400 E: I got it to work using&nbsp; <a href="https://github.com/kjbro/Roll20APIScripts/blob/master/BeyondImporter_5eOGL/BeyondImporter.js" rel="nofollow">https://github.com/kjbro/Roll20APIScripts/blob/master/BeyondImporter_5eOGL/BeyondImporter.js</a> &nbsp;flawlessly. Great stuff! Thanks for the link really helped me out.
Cozzie said: Does this script import only work as a DM?&nbsp; You can make your own game and make it private. That's what I did.&nbsp; If that doesn't work I can import the file for you and put it into your character vault. Send me a message.
Ugh, I've put in the new code, configured it for the 5e OGL (now known as D&amp;D 5E) and tried to upload a Public DNDBEYOND JSON. ddb.ac/characters/34702152/a8cMyl I used&nbsp; <a href="https://character-service.dndbeyond.com/character/v3/character/34702152" rel="nofollow">https://character-service.dndbeyond.com/character/v3/character/34702152</a> &nbsp;to pull the data.&nbsp; Put in !beyond -- import and then the JSON data, and nothing happened.&nbsp; I don't know if this is a new issue, or if I'm doing something wrong. (Also, Discord link in Github is broken)&nbsp;
TheThrapture said: Ugh, I've put in the new code, configured it for the 5e OGL (now known as D&amp;D 5E) and tried to upload a Public DNDBEYOND JSON. ddb.ac/characters/34702152/a8cMyl I used&nbsp; <a href="https://character-service.dndbeyond.com/character/v3/character/34702152" rel="nofollow">https://character-service.dndbeyond.com/character/v3/character/34702152</a> &nbsp;to pull the data.&nbsp; Put in !beyond -- import and then the JSON data, and nothing happened.&nbsp; I don't know if this is a new issue, or if I'm doing something wrong. (Also, Discord link in Github is broken)&nbsp; I had to type !beyond and hit enter then try and do the import command.&nbsp;
TheThrapture said: Put in !beyond -- import and then the JSON data, and nothing happened.&nbsp; I don't know if this is a new issue, or if I'm doing something wrong. (Also, Discord link in Github is broken)&nbsp; There shouldn't be a space between -- and import, if that's how you entered it?
EBE said: TheThrapture said: Put in !beyond -- import and then the JSON data, and nothing happened.&nbsp; I don't know if this is a new issue, or if I'm doing something wrong. (Also, Discord link in Github is broken)&nbsp; There shouldn't be a space between -- and import, if that's how you entered it? Ugh... Yes... thanks... I feel dumb.
Hello, I have been trying hard to import my character from DND Beyond to roll20. I put in the commands, push return, and nothing happens. Even the script just disappears. Is there any way to help?&nbsp;
I can't seem to get !beyond config to do anything, did I need to turn something else on or do some other setup before?
same here, I used !beyond --help and !beyond --import {JSON} and nothing happens, not even a error message in the chat window. is there a prerequisite I'm missing? I did not activate something or configure something neither in roll20 and in DDB...
Brian and Thomas, Quick question as I don't see a pro tag by your name. Does the game that your importing too have the script installed by the GM?
FWIW I got this to work also using the most recent version.
I use the last version and weirdly only ONE of my character cannot be imported. !beyond --import CHARACTER doesnt do nothing. no error, nothing. I restarted the api console, but always this one. Not sure why.
How do I install the script?
For the most part I have this working and it works 90% of the time, the problem I run into is if players try to use the !beyond --import command in a player account it doesn't work, I double check typing and the copying of json file in person so I know its correct. When I do it through GM Account no problem importing, and idea what am i not seeing? or is this designed only to work from GM account? If anyone needs help setting this up on the OGL sheet let me know I can help walk you through it via discord. PS. I prefer the shaped sheet but I cant figure out how to make it work.
Nice!&nbsp; There was a hiccup or two along the way (nothing y'all aren't already working on, judging on the bug reports), but it's a far sight better than plugging things in manually. Thanks!&nbsp;