Locally (0.28.0+) and on mainnet, I am no longer able to see the specific error for Response Verification issues
Before it was simple text like ‘Invalid root tree hash’ but now is just a generic message
Any way of getting more details?
Locally (0.28.0+) and on mainnet, I am no longer able to see the specific error for Response Verification issues
Before it was simple text like ‘Invalid root tree hash’ but now is just a generic message
Hey @Gekctek,
Indeed the HTTP gateways don’t expose details anymore as we deemed them not actionable for “end users”. You can still access the full details by directly using the ic-response-verification
crate. @NathanosDev has a sample script here and we will make sure to prepare something more “official” and with the latest releases of the crates in the coming weeks.
When you are using that ic-certificate-explorer
, make sure to fix the Cargo.toml
by replacing these lines with:
ic-response-verification = { version = "2.0.1", features = ["debug"] }
ic-http-certification = { version = "2.0.1" }
Then, you can adapt the following lines to make a call against your canister. For mainnet, use https://icp-api.io
and for local development localhost
with the right port. Also, make sure to request the right verification version here and here.
I hope this unblocks you for now. If you need any help, let us know!