Skip to main content
3

INVALID_ARGUMENT

ActiveHTTP 400

The client specified an invalid argument. This differs from FAILED_PRECONDITION in that INVALID_ARGUMENT indicates arguments that are problematic regardless of system state – a malformed field value, a value out of range, or a missing required field.

Description

INVALID_ARGUMENT is returned when a request contains invalid data that would fail in any system state. Use this for validation errors on individual fields, not for state-dependent precondition failures.

Common causes

  • Malformed field value
  • Value out of valid range
  • Missing required field
  • Invalid field combination

HTTP equivalent

HTTP 400 – View status code reference →