You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following command produces a non-understandable error:
$ dfx deploy main && dfx canister call main main '()'
...
Error: Failed query call.
Caused by: The replica returned a rejection error: reject code CanisterReject, reject message Error from Canister fokw4-aeaaa-aaaaa-qaa3a-cai: Canister has no query method '__motoko_async_helper'..
Check that the method being called is exported by the target canister. See documentation: http://internetcomputer.org/docs/current/references/execution-errors#method-not-found, error code Some("IC0406")
Code extract:
importfrontend"canister:frontend";
actorclassMain() = this {
publiccompositequeryfunc main() : async () {
let b = this.f();
let c = frontend.get({key ="/index.html"; accept_encodings = ["identity"]});
ignore {{b0 =await b; c0 =await c}};
};
publicqueryfunc f(): async () {};
};
My guess is that frontend may be written in Rust and not contain __motoko_async_helper.
The text was updated successfully, but these errors were encountered:
Please use this repository to reprise the bug.
The following command produces a non-understandable error:
Code extract:
My guess is that
frontend
may be written in Rust and not contain__motoko_async_helper
.The text was updated successfully, but these errors were encountered: