clean error management and with asset lookup in AssetsResource