Lucian said: Sammun said: Hey sorry if this was asked already but I installed both the shaped sheet and this from github and I keep having problems with importing "ERROR: You cannot set the imgsrc or avatar of an object unless you use an image that is in your Roll20 Library. See the API documentation for more info." I have tried both copying the token to my library and uploading a new token, but both fail, this didn't happen with the old script Note that avatars will ony successfully be set for token images from your library, not marketplace or web content. This is due to security restrictions within the Roll20 platform. If you really want an image as a character avatar, please unpload it to your library and then create a token from it before doing your import. I don't quite understand this, uploading an image to your library is not enough? Hi Sammun, What are you trying to do? What commands have you run? What isn't working? The error you are are seeing is generated by Roll20 and is most likely not significant to what you are trying to do. Is there anything the matter other than error message in the log? I am getting no errors from the script I believe, I am also using "!shaped-import-statblock" command and lastly these three lines of code appear "5eShapedCompanion 1488136822382 INFO : Importing statblocks for tokens [{\"_id\":\"-KdvrRr1Qt8h9la5as5v\",\"_pageid\":\"-KdvYTIYu9QMNuVZtMPy\",\"left\":665,\"top\":175,\"width\":70,\"height\":70,\"rotation\":0,\"layer\":\"objects\",\"isdrawing\":false,\"flipv\":false,\"fliph\":false,\"imgsrc\":\"<a href="https://s3.amazonaws.com/files.d20.io/images/29403516/mYYFtQB-8dd4vTq5Umfzow/max.png?1488135631\",\"name\":\"\",\"gmnotes\":\"Warlock%20of%20the%20Fiend%3Cbr%3EMedium%20humanoid%20%28any%20race%29%2C%20any%20alignment%3Cbr%3EArmor%20Class%2012%20%2815%20with%20mage%20armor%29%3Cbr%3EHit%20Points%2078%20%2812d8+24%29%3Cbr%3ESpeed%2030%20ft.%3Cbr%3ESTR%20DEX%20CON%20INT%20WIS%20CHA%3Cbr%3E10%20%28+0%2914%20%28+2%2915%20%28+2%2912%20%28+1%2912%20%28+1%2918%20%28+4%29%3Cbr%3ESaving%20Throws%20Wis%20+4%2C%20Cha%20+7%3Cbr%3ESkills%20Arcana%20+4%2C%20Deception%20+7%2C%20Persuasion%20+7%2C%20Religion%20+4%3Cbr%3EDamage%20Resistances%20slashing%20damage%20from%20nonmagical%20attacks%20not%20made%20with%20silvered%20weapons%3Cbr%3ESenses%20darkvision%2060%20ft.%2C%20passive%20Perception%2011%3Cbr%3ELanguages%20any%20two%20languages%20%28usually%20Abyssal%20or%20Infernal%29%3Cbr%3EChallenge%207%20%282%2C900%20XP%29%3Cbr%3EInnate%20Spellcasting.%20The%20warlock%u2019s%20innate%20spellcasting%20ability%20is%20Charisma.%20It%20can%20innately%20cast%20the%20following%20spells%20%28spell%20save%20DC%2015%29%2C%20requiring%20no%20material%20components%3A%3Cbr%3EAt%20will%3A%20alter%20self%2C%20false%20life%2C%20levitate%20%28self%20only%29%2C%20mage%20armor%20%28self%20only%29%2C%20silent%20image%3Cbr%3E1/day%20each%3A%20feeblemind%2C%20finger%20of%20death%2C%20plane%20shift%3Cbr%3ESpellcasting.%20The%20warlock%20is%20a%20l7th-level%20spellcaster.%20Its%20spellcasting%20ability%20is%20Charisma%20%28spell%20save%20DC%2015%2C%20+7%20to%20hit%20with%20spell%20attacks%29.%20It%20regains%20its%20expended%20spell%20slots%20when%20it%20finishes%20a%20short%20or%20long%20rest.%20It%20knows%20the%20following%20warlock%20spells%3A%3Cbr%3ECantrips%20%28at%20will%29%3A%20eldritch%20blast%2C%20fire%20bolt%2C%20friends%2C%20mage%20hand%2C%20minor%20illusion%2C%20prestidigitation%2C%20shocking%20grasp%3Cbr%3E1st-5th%20level%20%284%205th-level%20slots%29%3A%20banishment%2C%20burning%20hands%2C%20flame%20strike%2C%20hellish%20rebuke%2C%20magic%20circle%2C%20scorching%20ray%2C%20scrying%2C%20stinking%20cloud%2C%20suggestion%2C%20wall%20of%20fire%3Cbr%3EDark%20One%27s%20Own%20Luck%20%28Recharges%20after%20a%20Short%20or%20Long%20Rest%29.%20When%20the%20warlock%20makes%20an%20ability%20check%20or%20saving%20throw%2C%20it%20can%20add%20a%20d10%20to%20the%20roll.%20It%20can%20do%20this%20after%20the%20roll%20is%20made%20but%20before%20any%20of%20the%20roll%u2019s%20effects%20occur.%3Cbr%3EActions%3Cbr%3EMace.%20Melee%20Weapon%20Attack%3A%20+3%20to%20hit%2C%20reach%205%20ft.%2C%20one%20target.%20Hit%3A%203%20%281d6%29%20bludgeoning%20damage%20plus%2010%20%283d6%29%20fire%20damage.%3Cbr%3E\",\"controlledby\":\"\",\"bar1_value\":\"\",\"bar1_max\":\"\",\"bar1_link\":\"\",\"bar2_value\":\"\",\"bar2_max\":\"\",\"bar2_link\":\"\",\"bar3_value\":\"\",\"bar3_max\":\"\",\"bar3_link\":\"\",\"represents\":\"\",\"aura1_radius\":\"\",\"aura1_color\":\"#FFFF99\",\"aura1_square\":false,\"aura2_radius\":\"\",\"aura2_color\":\"#59E594\",\"aura2_square\":false,\"tint_color\":\"transparent\",\"statusmarkers\":\"\",\"showname\":false,\"showplayers_name\":false,\"showplayers_bar1\":false,\"showplayers_bar2\":false,\"showplayers_bar3\":false,\"showplayers_aura1\":false,\"showplayers_aura2\":false,\"playersedit_name\":true,\"playersedit_bar1\":true,\"playersedit_bar2\":true,\"playersedit_bar3\":true,\"playersedit_aura1\":true,\"playersedit_aura2\":true,\"light_radius\":\"\",\"light_dimradius\":\"\",\"light_otherplayers\":false,\"light_hassight\":false,\"light_angle\":\"\",\"light_losangle\":\"\",\"light_multiplier\":1,\"sides\":\"\",\"currentSide\":0,\"lastmove\":\"632,146\",\"_type\":\"graphic\",\"_subtype\":\"token\",\"_cardid\":\"\" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/29403516/mYYFtQB-8dd4vTq5Umfzow/max.png?1488135631\",\"name\":\"\",\"gmnotes\":\"Warlock%20of%20the%20Fiend%3Cbr%3EMedium%20humanoid%20%28any%20race%29%2C%20any%20alignment%3Cbr%3EArmor%20Class%2012%20%2815%20with%20mage%20armor%29%3Cbr%3EHit%20Points%2078%20%2812d8+24%29%3Cbr%3ESpeed%2030%20ft.%3Cbr%3ESTR%20DEX%20CON%20INT%20WIS%20CHA%3Cbr%3E10%20%28+0%2914%20%28+2%2915%20%28+2%2912%20%28+1%2912%20%28+1%2918%20%28+4%29%3Cbr%3ESaving%20Throws%20Wis%20+4%2C%20Cha%20+7%3Cbr%3ESkills%20Arcana%20+4%2C%20Deception%20+7%2C%20Persuasion%20+7%2C%20Religion%20+4%3Cbr%3EDamage%20Resistances%20slashing%20damage%20from%20nonmagical%20attacks%20not%20made%20with%20silvered%20weapons%3Cbr%3ESenses%20darkvision%2060%20ft.%2C%20passive%20Perception%2011%3Cbr%3ELanguages%20any%20two%20languages%20%28usually%20Abyssal%20or%20Infernal%29%3Cbr%3EChallenge%207%20%282%2C900%20XP%29%3Cbr%3EInnate%20Spellcasting.%20The%20warlock%u2019s%20innate%20spellcasting%20ability%20is%20Charisma.%20It%20can%20innately%20cast%20the%20following%20spells%20%28spell%20save%20DC%2015%29%2C%20requiring%20no%20material%20components%3A%3Cbr%3EAt%20will%3A%20alter%20self%2C%20false%20life%2C%20levitate%20%28self%20only%29%2C%20mage%20armor%20%28self%20only%29%2C%20silent%20image%3Cbr%3E1/day%20each%3A%20feeblemind%2C%20finger%20of%20death%2C%20plane%20shift%3Cbr%3ESpellcasting.%20The%20warlock%20is%20a%20l7th-level%20spellcaster.%20Its%20spellcasting%20ability%20is%20Charisma%20%28spell%20save%20DC%2015%2C%20+7%20to%20hit%20with%20spell%20attacks%29.%20It%20regains%20its%20expended%20spell%20slots%20when%20it%20finishes%20a%20short%20or%20long%20rest.%20It%20knows%20the%20following%20warlock%20spells%3A%3Cbr%3ECantrips%20%28at%20will%29%3A%20eldritch%20blast%2C%20fire%20bolt%2C%20friends%2C%20mage%20hand%2C%20minor%20illusion%2C%20prestidigitation%2C%20shocking%20grasp%3Cbr%3E1st-5th%20level%20%284%205th-level%20slots%29%3A%20banishment%2C%20burning%20hands%2C%20flame%20strike%2C%20hellish%20rebuke%2C%20magic%20circle%2C%20scorching%20ray%2C%20scrying%2C%20stinking%20cloud%2C%20suggestion%2C%20wall%20of%20fire%3Cbr%3EDark%20One%27s%20Own%20Luck%20%28Recharges%20after%20a%20Short%20or%20Long%20Rest%29.%20When%20the%20warlock%20makes%20an%20ability%20check%20or%20saving%20throw%2C%20it%20can%20add%20a%20d10%20to%20the%20roll.%20It%20can%20do%20this%20after%20the%20roll%20is%20made%20but%20before%20any%20of%20the%20roll%u2019s%20effects%20occur.%3Cbr%3EActions%3Cbr%3EMace.%20Melee%20Weapon%20Attack%3A%20+3%20to%20hit%2C%20reach%205%20ft.%2C%20one%20target.%20Hit%3A%203%20%281d6%29%20bludgeoning%20damage%20plus%2010%20%283d6%29%20fire%20damage.%3Cbr%3E\",\"controlledby\":\"\",\"bar1_value\":\"\",\"bar1_max\":\"\",\"bar1_link\":\"\",\"bar2_value\":\"\",\"bar2_max\":\"\",\"bar2_link\":\"\",\"bar3_value\":\"\",\"bar3_max\":\"\",\"bar3_link\":\"\",\"represents\":\"\",\"aura1_radius\":\"\",\"aura1_color\":\"#FFFF99\",\"aura1_square\":false,\"aura2_radius\":\"\",\"aura2_color\":\"#59E594\",\"aura2_square\":false,\"tint_color\":\"transparent\",\"statusmarkers\":\"\",\"showname\":false,\"showplayers_name\":false,\"showplayers_bar1\":false,\"showplayers_bar2\":false,\"showplayers_bar3\":false,\"showplayers_aura1\":false,\"showplayers_aura2\":false,\"playersedit_name\":true,\"playersedit_bar1\":true,\"playersedit_bar2\":true,\"playersedit_bar3\":true,\"playersedit_aura1\":true,\"playersedit_aura2\":true,\"light_radius\":\"\",\"light_dimradius\":\"\",\"light_otherplayers\":false,\"light_hassight\":false,\"light_angle\":\"\",\"light_losangle\":\"\",\"light_multiplier\":1,\"sides\":\"\",\"currentSide\":0,\"lastmove\":\"632,146\",\"_type\":\"graphic\",\"_subtype\":\"token\",\"_cardid\":\"\</a>"}]"
"5eShapedCompanion 1488136822404 INFO : {\"monsters\":[{\"name\":\"Warlock of the Fiend\",\"size\":\"Medium\",\"type\":\"humanoid (any race)\",\"alignment\":\"any alignment\",\"AC\":\"12 (15 with mage armor)\",\"HP\":\"78 (12d8+24)\",\"speed\":\"30 ft.\",\"strength\":10,\"dexterity\":14,\"constitution\":15,\"intelligence\":12,\"wisdom\":12,\"charisma\":18,\"savingThrows\":\"Wis +4, Cha +7\",\"skills\":\"Arcana +4, Deception +7, Persuasion +7, Religion +4\",\"damageResistances\":\"slashing damage from nonmagical attacks not made with silvered weapons\",\"senses\":\"darkvision 60 ft.\",\"languages\":\"any two languages (usually Abyssal or Infernal)\",\"challenge\":\"7\",\"traits\":[{\"name\":\"Innate Spellcasting\",\"text\":\"The warlock's innate spellcasting ability is Charisma. It can innately cast the following spells (spell save DC 15), requiring no material components:\\nAt will: alter self, false life, levitate (self only), mage armor (self only), silent image\\n1/day each: feeblemind, finger of death, plane shift\"},{\"name\":\"Spellcasting\",\"text\":\"The warlock is a l7th-level spellcaster. Its spellcasting ability is Charisma (spell save DC 15, +7 to hit with spell attacks). It regains its expended spell slots when it finishes a short or long rest. It knows the following warlock spells:\\nCantrips (at will): eldritch blast, fire bolt, friends, mage hand, minor illusion, prestidigitation, shocking grasp\\n1st-5th level (4 5th-level slots): banishment, burning hands, flame strike, hellish rebuke, magic circle, scorching ray, scrying, stinking cloud, suggestion, wall of fire\"},{\"name\":\"Dark One's Own Luck\",\"recharge\":\"Recharges after a Short or Long Rest\",\"text\":\"When the warlock makes an ability check or saving throw, it can add a d10 to the roll. It can do this after the roll is made but before any of the roll's effects occur.\"}],\"actions\":[{\"name\":\"Mace\",\"text\":\"Melee Weapon Attack: +3 to hit, reach 5 ft., one target. Hit: 3 (1d6) bludgeoning damage plus 10 (3d6) fire damage.\"}]}]}"
"5eShapedCompanion 1488136822406 ERROR : Failed to find or create character for monster Warlock of the Fiend"