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: --> 815208854cd932f018163a3e934340aa9aa13f4df98ff847c66f27136dbac4c4:40:10 | 40 | createListing(seller, storefront, request, paymentReceiver, nftRef, typeRef) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> 815208854cd932f018163a3e934340aa9aa13f4df98ff847c66f27136dbac4c4:70:2 | 70 | storefront.createListing( 71 | nftProviderCapability: collectionCap, 72 | paymentReceiver: paymentReceiver, 73 | nftType: typeCache[r.nftTypeIdentifier]!, 74 | nftID: r.nftID, 75 | salePaymentVaultType: Type<@DapperUtilityCoin.Vault>(), 76 | price: r.price, 77 | customID: r.customID, 78 | expiry: UInt64(getCurrentBlock().timestamp) + r.expiry, 79 | buyer: r.buyerAddress 80 | ) | ^ error: pre-condition failed: NFT does not exist in the collection! --> 1d7e57aa55817448.NonFungibleToken:187:30 | 187 | self.ownedNFTs[id] != nil: "NFT does not exist in the collection!" | ^^^^^^^^^^^
Arguments:
saleRequests:
[{"catalogCollection...t.NFT","price":0.5}]