Skip to Content
DevelopersError CodesCodesRPCBaseInvalid query result

Invalid query result

Code

RPC/BASE/INVALID_QUERY_RESULT

What it means

The query response shape is not what the client expects, so the client cannot safely parse the result.

When it happens

  • A query response is missing fields required for parsing (e.g. ResponseBase).

Typical scenarios:

  • Node returns a partial response due to internal failure
  • Proxy/transport modified the response payload
  • Client and node response formats are out of sync

How to handle

  • Treat as an internal RPC failure and include request params in meta.params.

Recommended meta keys:

  • meta.via: include the wrapper (rpc.base.query) and the contract signature (<pkg>.<func>)
  • meta.params: path, func, args, height, prove, id
  • meta.response: optionally include a trimmed raw response for debugging
Last updated on
Docsv1.0.10