I'm creating a new rollable table item via api.
const table = getRollableTableForName(rollableTableName);
const image = getImgSrcForId(tokenId);
if(table == null || image == null)
return;
// Create new entry, reference table
const ob = createObj("tableitem", {
_type: "tableitem",
_rollabletableid:table.get("_id"),
avatar: imgsrc,
name: generateGUID(),
weight:1
}); The image is a string that is I obtain from a token on the whiteboard. It matches '<a href="https://s3.amazonaws.com/files.d20.io/marketplace/44744/e0KcECTpGT2fB1dxLmdz3Q/max.png?1234567890" rel="nofollow">https://s3.amazonaws.com/files.d20.io/marketplace/44744/e0KcECTpGT2fB1dxLmdz3Q/max.png?1234567890</a> So it should be valid. The created item is also visible in the rollable table via the gui yet there avatar is empty. The API doc says that one cannot reference marketplace items yet when I add a table item via gui and then read the avatar via API, the url is still a marketplace url. So I assume this is a bug.