Non-helpful error prompt for listing items on Storefront

I am trying to list an NFT from a test contract via the following tutorial:
https://docs.meetdapper.com/technical-guides#c2d99c96695a4e038ef035506d2276d1

However, listing the NFT transaction for non-dapper users for testing via FLOW SDK& cadence gives the following unhelpful error:

expected `Capability<&AnyResource{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>`, got `Capability<&AnyResource{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>

Here is the transaction on testnet:
https://testnet.flowscan.org/transaction/b352ac03b4af6d8949981ce098d314c2ba44e94e586f96769cd78c88514f452b/script

Storages for the account are set up successfully and according to the technical tutorial.

Since the β€œexpected” and β€œgot” section of the error message is the same, it is tough to debug and pinpoint the issue. Any help is appreciated.