Skip to content

mintDIP721 - (variant {Err = variant { Unauthorized }}) and The Replica returned an error: code 5, message: "canister xxxx-xxx-xxx-xxxx-xxxx trapped: unreachable #22

@sakunix

Description

@sakunix

Used command:
dfx canister call nft mintDip721 "(principal "7fi54-4ehlq-on5si-izkkp-n3ism-wipnz-chyha-m7adi-sqjty-rwndi-xae", vec {record { purpose = variant { Preview}; key_val_data= vec { record {key="NFT 1"; val= variant {TextContent="png"}}}; data= blob"100, 97, 116,..., 103, 103, 103, 61, 61"}})"

I tried the "approval-permissions" version :
https://github.com/Psychedelic/DIP721/tree/refactor/approval-permissions

error: "The Replica returned an error: code 5, message: "canister xxxx-xxx-xxx-xxxx-xxxx trapped: unreachable""
imagen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions