Error: Updating contract instance failed: 'create' in 'staking' at {"index":4690,"subindex":0} failed with code -34

I am unsure how we can debug this error just from the code -34 can you please give me the hint for this?

Can you paste your Error enum? It is your custom error number in that enum, you can find more information in Return custom errors — Concordium documentation

Got it it was something to do with the

LogicReject {
reason: i32,

1 Like

I was confused on what the error -34 represented. Thank you for your clarifications!