# FieldWarning

- [JSON representation](https://developers.google.com/data-manager/api/reference/rest/v1/FieldWarning.md.txt#SCHEMA_REPRESENTATION)
- [WarningReason](https://developers.google.com/data-manager/api/reference/rest/v1/FieldWarning.md.txt#WarningReason)

Detailed row-level warning with field paths.

| JSON representation |
|---|
| ``` { "reason": enum (`WarningReason`), "description": string, "field": string } ``` |

| Fields ||
|---|---|
| `reason` | ``enum (`WarningReason`)`` The warning reason. |
| `description` | `string` The detailed warning message describing the issue. |
| `field` | `string` The field path that triggered the warning. Uses the same format as `google.rpc.BadRequest.FieldViolation.field`. |

## WarningReason

Reasons for non-blocking warnings returned during ingestion.

| Enums ||
|---|---|
| `WARNING_REASON_UNSPECIFIED` | Unspecified warning reason. |
| `WARNING_REASON_CUSTOM_VARIABLE_NOT_ENABLED` | A custom variable in `` `customVariables` `` is not enabled in the account. |
| `WARNING_REASON_CUSTOM_VARIABLE_NOT_PREDEFINED` | A custom variable value in `` `customVariables` `` is not among the predefined allowed values configured for the custom variable on the destination account. |
| `WARNING_REASON_CART_DATA_NOT_SUPPORTED_WITH_GBRAID_OR_WBRAID` | The `` `cartData` `` is not supported with `` `gbraid` `` or `` `wbraid` ``. |
| `WARNING_REASON_CART_DATA_ITEM_MERCHANT_PRODUCT_ID_MISSING` | The `` `merchantProductId` `` is missing in the cart item. |
| `WARNING_REASON_CART_DATA_ITEM_UNIT_PRICE_MISSING` | The `` `unitPrice` `` is missing in the cart item. |
| `WARNING_REASON_GENERIC` | Generic warning reason for issues that do not fit into other specific categories. |
| `WARNING_REASON_INVALID_CLIENT_ID` | The `` `clientId` `` is invalid. |
| `WARNING_REASON_INVALID_SUBDIVISION_CODE` | The `` `subdivisionCode` `` is invalid. |
| `WARNING_REASON_INVALID_REGION_CODE` | The `` `regionCode` `` is invalid. |
| `WARNING_REASON_INVALID_SUBCONTINENT_CODE` | The `` `subcontinentCode` `` is invalid. |
| `WARNING_REASON_INVALID_CONTINENT_CODE` | The `` `continentCode` `` is invalid. |
| `WARNING_REASON_INVALID_DEVICE_CATEGORY` | The device `` `category` `` is invalid. |
| `WARNING_REASON_INVALID_DEVICE_SCREEN_RESOLUTION` | The device `` `screenHeight` `` or `` `screenWidth` `` is invalid. |
| `WARNING_REASON_INVALID_MERCHANT_ID` | The `` `merchantId` `` is invalid. |
| `WARNING_REASON_INVALID_NUMBER_FORMAT` | The number format is invalid. |