UPDATE: I just tried this in an old campaign I have on Roll20. Using the json I got from the link below and my characterID I was able to successfully import my character. If you are still having trouble, the only other thing I can think of, is to make sure you don't have your character sheet set to private when you attempt to get the json.
It appears that they have turned off that version. If you use https://character-service.dndbeyond.com/character/v5/character/ I see I get a true return. I haven't had a chance to attempt to run that json through the beyondimporter, but if you are struggling that might work. If I get a couple minutes I'll try it myself.
Hi, thanks for your explanation. I was also able to get the data in json-format. But the syntax is quite different from the one described on GitHub (Version 3). Did you still manage to import everything to Roll20 using the !beyond --import [CHARACTER JSON] command (with GM/Pro-version)?
And do I include the first json-statement {"id":0,"success":true,"message":"Character successfully received.", before the "data" or not?
I'll write up a very short set of steps for you and some gotcha's that I run into, but it will have to be in a few hours. I'm prepping for a session tonight
Also, I had to run the following command before the "!beyond --import {"character":{"id":123456789" command
!beyond --imports inventory|false
It appears that there is an issue between the beyondimporter script and the current format of the D&DBeyond JSON, specifically with the inventory section of the script. As my players are using D&D Beyond for most of the playing/rolling, it's not an issue to not have the inventory included on the Roll20 side. I'm sure with a bit of time, the changes could be made to the script, but I don't have time to get into that right now. Hopefully this is helpful to anyone trying to get the script working.
UPDATE: I just tried this in an old campaign I have on Roll20. Using the json I got from the link below and my characterID I was able to successfully import my character. If you are still having trouble, the only other thing I can think of, is to make sure you don't have your character sheet set to private when you attempt to get the json.
It appears that they have turned off that version. If you use https://character-service.dndbeyond.com/character/v5/character/ I see I get a true return. I haven't had a chance to attempt to run that json through the beyondimporter, but if you are struggling that might work. If I get a couple minutes I'll try it myself.
The https://character-service.dndbeyond.com/character/v5/character/ gives the error:
"Unauthorized Access Attempt."
errorCode: 11eadfc
Any idea how to get it to work?
I'm very sorry for such a late reply. I just tried again using https://character-service.dndbeyond.com/character/v5/character/0123456789 and got the expected json back. Just remember to change 0123456789 to be the same as the numbers at the end of your character sheet. https://www.dndbeyond.com/characters/0123456789
Hi, thanks for your explanation. I was also able to get the data in json-format. But the syntax is quite different from the one described on GitHub (Version 3).
Did you still manage to import everything to Roll20 using the !beyond --import [CHARACTER JSON] command (with GM/Pro-version)?
And do I include the first json-statement {"id":0,"success":true,"message":"Character successfully received.", before the "data" or not?
I'll write up a very short set of steps for you and some gotcha's that I run into, but it will have to be in a few hours. I'm prepping for a session tonight
After playing around with this for a bit, I was able to get the import to occur. There are a few tweaks that had to take.
First, the beginning of the JSON should be modified from:
To:
Also, I had to run the following command before the "!beyond --import {"character":{"id":123456789" command
It appears that there is an issue between the beyondimporter script and the current format of the D&DBeyond JSON, specifically with the inventory section of the script. As my players are using D&D Beyond for most of the playing/rolling, it's not an issue to not have the inventory included on the Roll20 side. I'm sure with a bit of time, the changes could be made to the script, but I don't have time to get into that right now. Hopefully this is helpful to anyone trying to get the script working.