Skip to content

Custom secion candid:service not found #11

@janusdotai

Description

@janusdotai

Greetings,

I'm using this great library to query the ICP ledger (mainnet) for a transaction. The call is:

dfx canister --network=ic call ockk2-xaaaa-aaaai-aaaua-cai block '(XXXXXX:nat64)'

where XXXXX is the 'height' returned from a transaction done through plug wallet. This returns fine from the command line and it works using node-IC but I see a bunch of error's in the console from POST 404's from the lib

POST https://icp-api.io/api/v2/canister/ockk2-xaaaa-aaaai-aaaua-cai/read_state 404

Server returned an error:
Code: 404 ()
Body: Custom section candid:service not found.
Retrying request.

Eventually the result comes back successfully .. just wondering what these POST requests are? I'm not using any candid / did files for the ledger schema, just calling the one method "block"

The canister being called is:

https://icscan.io/canister/ockk2-xaaaa-aaaai-aaaua-cai

method: Block

Errors:

Capture
Capture1

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