# InvalidTemplateParameters

- [JSON representation](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/InvalidTemplateParameters#SCHEMA_REPRESENTATION)
- [ParameterViolation](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/InvalidTemplateParameters#ParameterViolation)
  - [JSON representation](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/InvalidTemplateParameters#ParameterViolation.SCHEMA_REPRESENTATION)

Used in the error_details field of a google.rpc.Status message, this indicates problems with the template parameter.

| JSON representation ||
|---|---|
| ``` { "parameterViolations": [ { object (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/InvalidTemplateParameters#ParameterViolation`) } ] } ``` |

| Fields ||
|---|---|
| `parameterViolations[]` | ``object (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/InvalidTemplateParameters#ParameterViolation`)`` Describes all parameter violations in a template request. |

## ParameterViolation

A specific template-parameter violation.

| JSON representation ||
|---|---|
| ``` { "parameter": string, "description": string } ``` |

| Fields ||
|---|---|
| `parameter` | `string` The parameter that failed to validate. |
| `description` | `string` A description of why the parameter failed to validate. |