invalid param: wrongsize

Solana JSON-RPC (public mainnet endpoint) · POST / · HTTP 200 -32602

Status: ✅ verified:server:prod · first seen 2026-10-20 · last confirmed 2026-10-27 · 81 confirmations from 2 vantages

getBalance with a string that is not a base-58 public key returns JSON-RPC error -32602 Invalid param: WrongSize.

What to do

  1. No client-side fix known (by design).

Dimensions

env: prod · plan: any · region: any · account_state: anonymous

Evidence

Probe af:solana:probe:invalid-pubkey (declarative, source)

Observations: none from reporters yet.

Machine access

curl -s https://apifacts.dev/v0/check \
  -H 'content-type: application/json' \
  -d '{"target":{"method":"POST","url":"https://api.mainnet-beta.solana.com/"},"error":{"status":200,"body_excerpt":"invalid param: wrongsize"}}'

YAML: facts/solana/invalid-pubkey-wrong-size.yaml


Data: CC BY 4.0 · apifacts registry · This page is generated; edit the YAML, not the page.