CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: --> 5bf901c6fd3cce3d680ce5a92125f563fabaf7ba6d928a7deae2934083d62ceb:12:4 | 12 | acct.forEachPublic(fun (path: PublicPath, type: Type): Bool { 13 | if !type.isSubtype(of: providerType){ 14 | return true 15 | } 16 | 17 | let collectionIdentifer = acct.getCapability<&AnyResource>(path).borrow()!.getType().identifier 18 | let segments = StringUtils.split(collectionIdentifer, ".") 19 | let nftTypeIdentifier = "A.".concat(segments[1]).concat(".").concat(segments[2]).concat(".NFT") 20 | 21 | var catalogIdentifier = "" 22 | if let catalogIdentifiers = NFTCatalog.getCollectionsForType(nftTypeIdentifier: nftTypeIdentifier) { 23 | for k in catalogIdentifiers.keys { 24 | if catalogIdentifiers[k] == true { 25 | catalogIdentifier = k 26 | } 27 | } 28 | } 29 | 30 | if catalogIdentifier == "" { 31 | panic("no catalog identifier found") 32 | } 33 | 34 | let catalogData = NFTCatalog.getCatalogEntry(collectionIdentifier: catalogIdentifier)! 35 | 36 | publicPaths.append(catalogData.collectionData.publicPath) 37 | storagePaths.append(catalogData.collectionData.storagePath) 38 | 39 | return true 40 | }) | ^^ error: panic: no catalog identifier found --> 5bf901c6fd3cce3d680ce5a92125f563fabaf7ba6d928a7deae2934083d62ceb:31:8 | 31 | panic("no catalog identifier found") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^