> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corti.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# embedded.interactionOptionsWarning

> Emitted when setInteractionOptions skips invalid, unsupported, or over-constraining interaction option values.

## Event Properties

| Field          | Value                                  |
| -------------- | -------------------------------------- |
| `event`        | `"embedded.interactionOptionsWarning"` |
| `confidential` | `boolean`                              |
| `payload`      | `object`                               |

<Tabs>
  <Tab title="Public Payload">
    | Field           | Type                                                                                                                                                                                                                                    | Description                                                            |
    | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
    | `code`          | `"INTERACTION_OPTIONS_VALUES_SKIPPED"`                                                                                                                                                                                                  | Stable warning code for integrators                                    |
    | `message`       | `string`                                                                                                                                                                                                                                | Human-readable warning summary                                         |
    | `skippedValues` | `{ templates: { unsupportedSources: ("standard" \| "project")[]; standard: { include: { regions: string[]; families: string[]; }; }; project: { include: { ids: string[]; }; exclude: { ids: string[]; }; }; }; documents: { ...; }; }` | Interaction option values ignored while applying setInteractionOptions |

    <Accordion title="skippedValues object properties">
      | Field       | Type     | Description |
      | ----------- | -------- | ----------- |
      | `templates` | `object` | -           |
      | `documents` | `object` | -           |
    </Accordion>

    #### Example

    ```json theme={null}
    {
      "event": "embedded.interactionOptionsWarning",
      "confidential": false,
      "payload": {
        "code": "INTERACTION_OPTIONS_VALUES_SKIPPED",
        "message": "Some interaction option values were skipped because they are invalid, unsupported, or would leave no templates available.",
        "skippedValues": {
          "templates": {
            "unsupportedSources": [
              "standard",
              "project"
            ],
            "standard": {
              "include": {
                "regions": [
                  "ZZ"
                ],
                "families": [
                  "unknown-family"
                ]
              }
            },
            "project": {
              "include": {
                "ids": [
                  "not-a-uuid"
                ]
              },
              "exclude": {
                "ids": []
              }
            }
          },
          "documents": {
            "allowedLanguages": [
              "oo"
            ]
          }
        }
      }
    }
    ```
  </Tab>

  <Tab title="Confidential Payload">
    | Field           | Type                                                                                                                                                                                                                                    | Description                                                            |
    | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
    | `code`          | `"INTERACTION_OPTIONS_VALUES_SKIPPED"`                                                                                                                                                                                                  | Stable warning code for integrators                                    |
    | `message`       | `string`                                                                                                                                                                                                                                | Human-readable warning summary                                         |
    | `skippedValues` | `{ templates: { unsupportedSources: ("standard" \| "project")[]; standard: { include: { regions: string[]; families: string[]; }; }; project: { include: { ids: string[]; }; exclude: { ids: string[]; }; }; }; documents: { ...; }; }` | Interaction option values ignored while applying setInteractionOptions |

    <Accordion title="skippedValues object properties">
      | Field       | Type     | Description |
      | ----------- | -------- | ----------- |
      | `templates` | `object` | -           |
      | `documents` | `object` | -           |
    </Accordion>

    #### Example

    ```json theme={null}
    {
      "event": "embedded.interactionOptionsWarning",
      "confidential": true,
      "payload": {
        "code": "INTERACTION_OPTIONS_VALUES_SKIPPED",
        "message": "Some interaction option values were skipped because they are invalid, unsupported, or would leave no templates available.",
        "skippedValues": {
          "templates": {
            "unsupportedSources": [
              "standard",
              "project"
            ],
            "standard": {
              "include": {
                "regions": [
                  "ZZ"
                ],
                "families": [
                  "unknown-family"
                ]
              }
            },
            "project": {
              "include": {
                "ids": [
                  "not-a-uuid"
                ]
              },
              "exclude": {
                "ids": []
              }
            }
          },
          "documents": {
            "allowedLanguages": [
              "oo"
            ]
          }
        }
      }
    }
    ```
  </Tab>
</Tabs>
