Importing Character

I use The Only Sheet to manage my character information. There is an option to export to Foundry from there. When using the desktop version of FVTT my character comes in just fine. When I try to use my Forge instance nothing happens when I try to import. Am I doing something wrong?

I don’t know what The Only Sheet does (first time I hear of it, and it looks like it’s a PC application) or how it exports to Foundry. Do you have any more details? A screenshot perhaps, what kind of “export” it creates? do you get a file? How are you trying to import it on The Forge and what kind of error do you get?

Post as much info as you can, with accompanying screenshots when possible.
Thanks

There are no errors, nothing happens at all. Here are the steps I take in both the local copy and the Forge copy of FVTT:
1 - Create new actor
2 - Close sheet
3 - Right click on actor name
4 - Select Import option
5 - Find file on local system
6 - Click Import File
7 - Open sheet to verify data

In my local copy everything appears as expected. In Forge, there are no changes to the character sheet.

I tried to copy the json file up so you could see it, but I cannot. So, I have added the text for the josn file below this message so you could see it.

Thanks for any help.

{
  "name": "Bob (Changeling Warlock)",
  "type": "character",
  "data": {
    "abilities": {
      "str": {
        "value": 10,
        "proficient": 0,
        "mod": 0,
        "prof": 2,
        "save": 0
      },
      "dex": {
        "value": 16,
        "proficient": 0,
        "mod": 3,
        "prof": 2,
        "save": 3
      },
      "con": {
        "value": 16,
        "proficient": 0,
        "mod": 3,
        "prof": 2,
        "save": 3
      },
      "int": {
        "value": 12,
        "proficient": 0,
        "mod": 1,
        "prof": 2,
        "save": 1
      },
      "wis": {
        "value": 13,
        "proficient": 1,
        "mod": 1,
        "prof": 2,
        "save": 3
      },
      "cha": {
        "value": 18,
        "proficient": 1,
        "mod": 4,
        "prof": 2,
        "save": 6
      }
    },
    "attributes": {
      "ac": {
        "min": 0,
        "value": 13
      },
      "hp": {
        "value": 11,
        "min": 0,
        "max": 11
      },
      "init": {
        "value": 3
      },
      "speed": {
        "value": "30ft.",
        "special": ""
      },
      "spellcasting": "cha",
      "death": {
        "success": 0,
        "failure": 0
      },
      "exhaustion": 0,
      "prof": 2,
      "spelldc": 14
    },
    "details": {
      "race": "Changeling",
      "background": "Noble",
      "xp": {
        "value": 0
      },
      "trait": "If you do me an injury, I will crush you, ruin your name, and salt your fields",
      "ideal": "Family: Blood runs thicker than water. (Any)",
      "bond": "I will face any challenge to win the approval of my family",
      "flaw": "Family: Blood runs thicker than water. (Any)",
      "level": 1
    },
    "skills": {
      "acr": {
        "value": 0,
        "ability": "dex",
        "bonus": 0,
        "mod": 0,
        "passive": 13
      },
      "ani": {
        "value": 0,
        "ability": "wis",
        "bonus": 0,
        "mod": 0,
        "passive": 11
      },
      "arc": {
        "value": 1,
        "ability": "int",
        "bonus": 0,
        "mod": 0,
        "passive": 13
      },
      "ath": {
        "value": 0,
        "ability": "str",
        "bonus": 0,
        "mod": 0,
        "passive": 10
      },
      "dec": {
        "value": 1,
        "ability": "cha",
        "bonus": 0,
        "mod": 0,
        "passive": 16
      },
      "his": {
        "value": 1,
        "ability": "int",
        "bonus": 0,
        "mod": 0,
        "passive": 13
      },
      "ins": {
        "value": 0,
        "ability": "wis",
        "bonus": 0,
        "mod": 0,
        "passive": 11
      },
      "itm": {
        "value": 0,
        "ability": "cha",
        "bonus": 0,
        "mod": 0,
        "passive": 14
      },
      "inv": {
        "value": 1,
        "ability": "int",
        "bonus": 0,
        "mod": 0,
        "passive": 13
      },
      "med": {
        "value": 0,
        "ability": "wis",
        "bonus": 0,
        "mod": 0,
        "passive": 11
      },
      "nat": {
        "value": 0,
        "ability": "int",
        "bonus": 0,
        "mod": 0,
        "passive": 11
      },
      "prc": {
        "value": 0,
        "ability": "wis",
        "bonus": 0,
        "mod": 0,
        "passive": 11
      },
      "prf": {
        "value": 0,
        "ability": "cha",
        "bonus": 0,
        "mod": 0,
        "passive": 14
      },
      "per": {
        "value": 1,
        "ability": "cha",
        "bonus": 0,
        "mod": 0,
        "passive": 16
      },
      "rel": {
        "value": 0,
        "ability": "int",
        "bonus": 0,
        "mod": 0,
        "passive": 11
      },
      "slt": {
        "value": 0,
        "ability": "dex",
        "bonus": 0,
        "mod": 0,
        "passive": 13
      },
      "ste": {
        "value": 0,
        "ability": "dex",
        "bonus": 0,
        "mod": 0,
        "passive": 13
      },
      "sur": {
        "value": 0,
        "ability": "wis",
        "bonus": 0,
        "mod": 0,
        "passive": 11
      }
    },
    "traits": {
      "size": "med",
      "senses": "",
      "languages": {
        "value": [
          "common",
          "orc",
          "gnomish",
          "elvish"
        ],
        "custom": ""
      },
      "di": {
        "value": [
        ],
        "custom": ""
      },
      "dr": {
        "value": [
        ],
        "custom": ""
      },
      "dv": {
        "value": [
        ],
        "custom": ""
      },
      "ci": {
        "value": [
        ],
        "custom": ""
      },
      "weaponProf": {
        "value": [
        ],
        "custom": ""
      },
      "armorProf": {
        "value": [
        ],
        "custom": ""
      },
      "toolProf": {
        "value": [
        ],
        "custom": ""
      }
    },
    "currency": {
      "pp": 0,
      "gp": 0,
      "ep": 0,
      "sp": 0,
      "cp": 0
    }
  },
  "items": [
    {
      "name": "Duplicity",
      "type": "feat",
      "data": {
        "description": {
          "value": "<p>Gain proficiency with the Deception skill</p>",
          "chat": "",
          "unidentified": ""
        },
        "activation": {
          "type": "",
          "cost": 0,
          "condition": ""
        }
      }
    },
    {
      "name": "Shapechanger",
      "type": "feat",
      "data": {
        "description": {
          "value": "<p>As an action, polymorph into any humanoid of your size that you have seen, or back into your true form. However, your gear does not change with you. If you die, you revert to your natural appearance</p>",
          "chat": "",
          "unidentified": ""
        },
        "activation": {
          "type": "",
          "cost": 0,
          "condition": ""
        }
      }
    },
    {
      "name": "Warlock",
      "type": "class",
      "img": "systems/dnd5e/icons/skills/violet_21.jpg",
      "data": {
        "levels": 1,
        "subclass": "The Hexblade",
        "hitDice": "d8",
        "spellcasting": "none"
      }
    },
    {
      "name": "Armor Proficiency",
      "type": "feat",
      "data": {
        "description": {
          "value": "<p>Light Armor\n</p>",
          "chat": "",
          "unidentified": ""
        },
        "activation": {
          "type": "",
          "cost": 0,
          "condition": ""
        }
      }
    },
    {
      "name": "Weapon Proficiency",
      "type": "feat",
      "data": {
        "description": {
          "value": "<p>Simple weapons\n</p>",
          "chat": "",
          "unidentified": ""
        },
        "activation": {
          "type": "",
          "cost": 0,
          "condition": ""
        }
      }
    },
    {
      "name": "Tool Proficiency",
      "type": "feat",
      "data": {
        "description": {
          "value": "<p>None\n</p>",
          "chat": "",
          "unidentified": ""
        },
        "activation": {
          "type": "",
          "cost": 0,
          "condition": ""
        }
      }
    },
    {
      "name": "Saving Throw Proficiencies",
      "type": "feat",
      "data": {
        "description": {
          "value": "<p>Wisdom, Charisma\n</p>",
          "chat": "",
          "unidentified": ""
        },
        "activation": {
          "type": "",
          "cost": 0,
          "condition": ""
        }
      }
    },
    {
      "name": "Skill Proficiency",
      "type": "feat",
      "data": {
        "description": {
          "value": "<p>You selected Arcana and Investigation\n</p>",
          "chat": "",
          "unidentified": ""
        },
        "activation": {
          "type": "",
          "cost": 0,
          "condition": ""
        }
      }
    },
    {
      "name": "Pact Magic",
      "type": "feat",
      "data": {
        "description": {
          "value": "<p>Your arcane research and the magic bestowed on you by your patron have given you facility with spells</p><p>   \u2022 Cantrips: You know 2 cantrips of your choice from the Warlock spell list</p><p>   \u2022 Spell Slots: You have one 1st-level spell slots</p><p>   \u2022 Spell Known: You know 2 spells of your choice from the Warlock spell list. A spell you choose must be of a level no higher than level 1</p><p>   \u2022 Spellcasting Ability: Charisma is your spellcasting ability for your Warlock spells\n      \u00B7 Spell save DC: 14\n      \u00B7 Spell attack modifier: +6</p><p>   \u2022 Spellcasting Focus: You can use an arcane focus as a spellcasting focus for your Warlock spells\n</p>",
          "chat": "",
          "unidentified": ""
        },
        "activation": {
          "type": "",
          "cost": 0,
          "condition": ""
        }
      }
    },
    {
      "name": "The Hexblade patron",
      "type": "feat",
      "data": {
        "description": {
          "value": "<p>You have made your pact with a mysterious entity from the Shadowfell - a force that manifests in sentient magic weapons carved from the stuff of shadow. The shadowy force behind these weapons can offer power to warlocks who form pacts with it. Many hexhlade Warlocks create weapons that emulate those formed in the Shadowfell. Others forgo such arms, content to weave the dark magic of that plane into their spellcasting</p><p>   \u2022 Expanded Spell List: The Hexblade lets you choose from an expanded list of spells when you learn a Warlock spell. Add the following spells to the Warlock spell list:\n      \u00B7 Level 1: Shield, Wrathful Smite</p><p>   \u2022 Hexblade's Curse: \u2524\u2460\u251C Once per short or long rest, as a bonus action, choose one visible crt within 30'. The target is cursed for 1 min. The curse ends early if the target dies, you die, or you are incapacitated. Until the curse ends, gain the following benefits:\n      \u00B7 Gain a +2 bonus to dmg rolls vs the cursed target\n      \u00B7 Any atk roll you make vs the cursed target is a critical hit on a roll of 19 or 20 on the d20\n      \u00B7 If the cursed target dies, regain 1 HPs</p><p>   \u2022 Hex Warrior: Gain proficiency with medium armor, shields, and martial wpns. The influence of your patron also allows you to mystically channel your will through a particular wpn. Whenever you finish a long rest, you can touch one wpn that you are proficient with and that lacks the two-handed property. When you atk with that wpn, use your CHA modifier, instead of STR or DEX, for the atk and dmg rolls.  This benefit lasts until you finish a long rest. If you later gain the Pact of the Blade feature, this benefit extends to every pact wpn you conjure with that feature, no matter the wpn's type\n</p>",
          "chat": "",
          "unidentified": ""
        },
        "activation": {
          "type": "",
          "cost": 0,
          "condition": ""
        }
      }
    },
    {
      "name": "Shortsword",
      "type": "weapon",
      "img": "systems/dnd5e/icons/items/weapons/sword-short.jpg",
      "data": {
        "description": {
          "value": "Properties: Finesse, Light  {STR} {Proficient}",
          "chat": "",
          "unidentified": ""
        },
        "ability": "str",
        "actionType": "mwak",
        "attackBonus": 4,
        "price": 10,
        "equipped": true,
        "proficient": true,
        "quantity": 1,
        "weight": 2,
        "properties": {
          "lgt": true
        },
        "weaponType": "martialM",
        "activation": {
          "type": "action",
          "cost": 1,
          "condition": ""
        },
        "damage": {
          "parts": [
            [
              "1d6 + @mod",
              "piercing"
            ]
          ]
        }
      }
    },
    {
      "name": "Shortbow",
      "type": "weapon",
      "img": "systems/dnd5e/icons/items/weapons/bow-short.jpg",
      "data": {
        "description": {
          "value": "Properties: Ammunition, Two-Handed  {DEX} {Proficient}",
          "chat": "",
          "unidentified": ""
        },
        "ability": "dex",
        "actionType": "rwak",
        "attackBonus": 0,
        "price": 25,
        "equipped": true,
        "proficient": true,
        "quantity": 1,
        "weight": 2,
        "properties": {
          "amm": true,
          "two": true
        },
        "weaponType": "simpleR",
        "activation": {
          "type": "action",
          "cost": 1,
          "condition": ""
        },
        "damage": {
          "parts": [
            [
              "1d6 + @mod",
              "piercing"
            ]
          ]
        }
      }
    },
    {
      "name": "Dagger",
      "type": "weapon",
      "img": "systems/dnd5e/icons/items/weapons/dagger.jpg",
      "data": {
        "description": {
          "value": "Properties: Finesse, Light , Thrown  {DEX} {Proficient}",
          "chat": "",
          "unidentified": ""
        },
        "ability": "dex",
        "actionType": "mwak",
        "attackBonus": 0,
        "price": 2,
        "equipped": true,
        "proficient": true,
        "quantity": 1,
        "weight": 1,
        "properties": {
          "fin": true,
          "lgt": true,
          "thr": true
        },
        "weaponType": "simpleM",
        "activation": {
          "type": "action",
          "cost": 1,
          "condition": ""
        },
        "damage": {
          "parts": [
            [
              "1d4 + @mod",
              "piercing"
            ]
          ]
        }
      }
    },
    {
      "name": "Greatsword",
      "type": "weapon",
      "img": "systems/dnd5e/icons/items/weapons/sword-great.jpg",
      "data": {
        "description": {
          "value": "Properties: Heavy , Two-Handed  {STR} {Proficient}",
          "chat": "",
          "unidentified": ""
        },
        "ability": "str",
        "actionType": "mwak",
        "attackBonus": 0,
        "price": 50,
        "equipped": true,
        "proficient": true,
        "quantity": 1,
        "weight": 6,
        "properties": {
          "hvy": true,
          "two": true
        },
        "weaponType": "martialM",
        "activation": {
          "type": "action",
          "cost": 1,
          "condition": ""
        },
        "damage": {
          "parts": [
            [
              "2d6 + @mod",
              "slashing"
            ]
          ]
        }
      }
    },
    {
      "name": "Eldritch Blast",
      "type": "spell",
      "data": {
        "description": {
          "value": "<p>0</p>"
        },
        "activation": {
          "type": "action",
          "cost": 1
        },
        "source": "PHB 227",
        "target": {
          "value": 120,
          "units": "ft",
          "type": "ft"
        },
        "components": {
          "vocal": true,
          "somatic": true,
          "material": false,
          "ritual": false,
          "concentration": false
        },
        "preparation": {
          "mode": "prepared",
          "value": "<p>0</p>"
        },
        "level": 0,
        "school": "evo"
      }
    },
    {
      "name": "Toll the Dead",
      "type": "spell",
      "data": {
        "description": {
          "mode": "prepared",
          "value": "<p>0</p>"
        },
        "activation": {
          "type": "action",
          "cost": 1
        },
        "source": "XGtE 169",
        "target": {
          "value": 60,
          "units": "ft",
          "type": "ft"
        },
        "components": {
          "vocal": true,
          "somatic": true,
          "material": false,
          "ritual": false,
          "concentration": false
        },
        "preparation": {
          "mode": "prepared",
          "value": "<p>0</p>"
        },
        "level": 0,
        "school": "nec"
      }
    },
    {
      "name": "Witch Bolt",
      "type": "spell",
      "data": {
        "description": {
          "mode": "prepared",
          "value": "<p>0</p>"
        },
        "activation": {
          "type": "action",
          "cost": 1
        },
        "source": "PHB 288",
        "target": {
          "value": 30,
          "units": "ft",
          "type": "ft"
        },
        "components": {
          "vocal": true,
          "somatic": true,
          "material": true,
          "ritual": false,
          "concentration": true
        },
        "preparation": {
          "mode": "prepared",
          "value": "<p>0</p>"
        },
        "level": 1,
        "school": "evo"
      }
    },
    {
      "name": "Hellish Rebuke",
      "type": "spell",
      "data": {
        "description": {
          "mode": "prepared",
          "value": "<p>0</p>"
        },
        "activation": {
          "type": "reaction",
          "cost": 1
        },
        "source": "PHB 250",
        "target": {
          "value": 60,
          "units": "ft",
          "type": "ft"
        },
        "components": {
          "vocal": true,
          "somatic": true,
          "material": false,
          "ritual": false,
          "concentration": false
        },
        "preparation": {
          "mode": "prepared"
        },
        "level": 1,
        "school": "evo"
      }
    }
  ]
}

Ah I see, thanks for clarifying the process.
I just tried with the file you posted and it works fine for me on the Forge :

Can you press F12 in chrome to get the dev console and see if any errors appear in red in the console after you do the import? Make sure the world you’re trying to import into is a dnd5e world, and try with modules disabled in case a module is causing some interference and breaking that functionality.

Odd, I changed from the default 5e sheet to Tiny 5e sheet (not sure if that is the exact name or not) and now it works. I don’t think I changed anything else. But, now at least it is working.

Thanks!

that is weird yeah, since I used the default sheet, and the import is done by the core, the sheet should just change how it represents it visually.
I don’t know what to tell you… :man_shrugging: at least now it works!

Can you take a look over this…i cant import any json file this days.

commons.js:4098 Uncaught (in promise) Error: undefined. NPCData Model Validation Errors
[NPCData.attributes]: Model Validation Errors
[NPCData.attributes.ac]: Model Validation Errors
[NPCData.attributes.ac.formula]: Roll.safeEval produced a non-numeric result from expression “natural armor”
[Detected 1 package: system:dnd5e]
at SchemaField._validateType (commons.js:4098:15)
at SchemaField.validate (commons.js:3824:37)
at NPCData.validate (commons.js:5492:35)
at new DataModel (commons.js:5269:26)
at new SystemDataModel (abstract.mjs:18:16)
at new Base (abstract.mjs:92:18)
at new CommonTemplate (common.mjs:20:16)
at new CreatureTemplate (creature.mjs:30:16)
at new NPCData (npc.mjs:42:16)
at SystemDataField.initialize (commons.js:4814:25)
at Actor5e._initialize (commons.js:5408:29)
at Actor5e._initialize (foundry.js:13087:11)
at new DataModel (commons.js:5270:12)
at new Document (commons.js:5811:3)
at new BaseActor (commons.js:7158:3)
at new ClientDocumentMixin (foundry.js:13053:5)
at new Actor (foundry.js:16292:1)
at new Actor5e (actor.mjs:10:16)
at Actor5e.importFromJSON (foundry.js:13768:17)
at foundry.js:13807:68

Hey there :wave:

dnd5e 2.1.x made some changes to the system’s data model which introduces more strict validation that this might be related to.
I’d recommend asking in the #dnd5e channel of the Foundry VTT Discord.

1 Like