Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction invocation failed when executing transaction: [Error Code: 1101] cadence runtime error: Execution failed:
--> 7a01d63ec4a5f2d5207bec8012740fcfe0d312fcbd178c979db062718d2b73b6:23:8
|
23 | collectionRef.batchLock(ids: ids, duration: ONE_YEAR_IN_SECONDS)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 0b2a3299cc857e29.TopShot:1210:16
error: panic: Cannot lock: Moment does not exist in the collection
--> 0b2a3299cc857e29.TopShot:1196:19