Skip to main content

E1202 — Invalid input to host API call

PropertyValue
Code1202
SlugE1202
Categoryvalidation (Validation)

What happened

Invalid input to host API call.

Why it happened

An argument passed to a host API function has the wrong shape — most commonly an address that is not exactly 20 bytes.

How to fix

Check argument shapes against the target actor’s schema. Ensure addresses are 20-byte values.

Receipt example

{
  "code": 1202,
  "slug": "E1202",
  "category": "validation",
  "what": "Invalid input to host API call",
  "fix": "Check argument shapes against the target actor's schema.",
  "docs_url": "https://docs.cowboy.inc/errors/E1202"
}

All Error Codes

View the complete error code reference