I am writing code that can call a canister and call the ic in the general.
Right now Im getting a http-status-code: 422 and in the sponse-body it says: “Could not parse body as read request: invalid type: byte array, expected u64”.
Can anyone give me hints as to where this error comes from so i can fix my canister call?
This is when trying a query call to the governance-canister, method_name: get_pending_proposals.