Details an error that resulted in a validation or internal failure.
JSON representation | |
---|---|
{ "code": integer, "field": string, "message": string, "value": string, "fieldIndex": integer } |
Fields | |
---|---|
code |
The status code, which should be an enum value of |
field |
A path leading to a field in the request body. The value is a sequence of dot-separated identifiers that identify a protocol buffer field. For example, "errorDetails.field" would identify this field. |
message |
A description of why the field caused a failure. The message is in English and may not be suitable for display to users. |
value |
The value that failed the request. |
fieldIndex |
If the request field that generated this error is repeated, this will contain the zero based index of the entry in that field which caused validation to fail. |