Getting call to <functionName> errored: Returned error: invalid argument 0: hex string has length 0, want 40 for common.Address

I had deployed my contract on ropsten TestNet using python. Now am trying to call query(GET) call to fetch the value stored in Contract using remix . But it is throws following exception
call to . errored: Returned error: invalid argument 0: hex string has length 0, want 40 for common.Address

The expected output is to return string memory. There is a address attribute in the same contract but this call has nothing to do with it.

Can somone help me regarding this?

Thanks in advance,

csplrj

Hi @csplrj, welcome to our community!

Please open a support ticket containing any relevant code bits and the exact steps used for querying the contract. We’ll see how we can help starting from there :slight_smile:

Hi
My guess is that the from address is empty, you can use the zero address (or any other valid address) for the form field as a solution.