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

BeyondImporter.js No longer functioning?

1710379344
DnDPlay20
Pro
Marketplace Creator
I have tried on 2 different systems. I made sure to have the most recent version. BeyondImporter starts to import, then crashes every time. With DnDBeyond developing their own VTT, I'm wondering if it is intentional on their side, but also, the API has not been updated in 4 years so far as I can tell. Maybe the recent changes to Roll20 may have something to do with it? When it crashes, it says something about an ending loop or something. I don't just use it to import player characters from DnDBeyond, I also sometimes create NPCs there to import (characters based on former PCs). Ideas?
BeyondImporter has always had issues. DDB routinely changes the formatting of their .json data, which causes issues for the script. DDB mods have clearly stated that any exposed .json data was unintentional and might become unavailable or unusable at any time. I wouldn't be surprised if the script become totally non-functional at some point.  But for someone here to investigate closer, you’ll have to post which version of the script you are using (a link to where you’re copying from is helpful also), as well as the content/screenshot of the errors on your script sandbox page. 
1710773110

Edited 1710773170
DnDPlay20
Pro
Marketplace Creator
It took some reading, but I found the issue: Darren B. Plus Permalink for 9130957 Quote Report 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. I had to type !beyond and hit enter then try and do the import command. <a href="https://app.roll20.net/forum/post/6248700/script-beta-beyondimporter-import-dndbeyond-character-sheets" rel="nofollow">https://app.roll20.net/forum/post/6248700/script-beta-beyondimporter-import-dndbeyond-character-sheets</a> Entering that script fixed it.
Normal 0 false false false EN-US JA X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:8.0pt; mso-para-margin-left:0in; line-height:107%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-font-kerning:1.0pt; mso-ligatures:standardcontextual;} Instructions as of 4/7/2024, note I’m just another guy trying to figure this out: 1. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; You must have a Roll20 Pro subscription 2. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Within Roll20, create a new game 3. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Open that game page and click on “Settings” then “Manage APIs” 4. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Click on “New Script”, give it a name and then in a separate tab… 5. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Go to: <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> 6. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Copy the entire script from KjBro’s GitHub page, then paste it into the Roll20 script you’re creating, then click on “save script” 7. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next open your character screen in DDB and copy somewhere the numbers at the end of the URL e.g. <a href="https://www.dndbeyond.com/characters/111111111" rel="nofollow">https://www.dndbeyond.com/characters/111111111</a> 8. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The next thing you’re going to do is open another tab and go to the following URL, but change the numbers at the end to whatever are the numbers for your character: <a href="https://character-service.dndbeyond.com/character/v3/character/111111111" rel="nofollow">https://character-service.dndbeyond.com/character/v3/character/111111111</a> 9. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; On this page click on the “copy” button 10. &nbsp;&nbsp; Go back to Roll20 and start your newly created game as the DM 11. &nbsp;&nbsp; Type “!beyond --config” then hit enter to do your initial configurations 12. &nbsp;&nbsp; When you’re done with that, type “!beyond --import “ then paste (pasting everything from the DDBeyond webpage) and hit enter. 13. &nbsp;&nbsp; You should almost immediately see “Import of (character name) is starting”