> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/componentes/sdk-provider/propiedades/settingsstrictness.md).

# settingsStrictness

## Details

**Attribute:** `settings-strictness`

**Type:** `boolean`

**Default value:** `false`

## Morphology

```typescript
provider.settingsStrictness = true;
```

## Description

Controls how an invalid configuration value is handled in `facephi-sdk-provider` and in the components it hosts (Selphi, SelphID, Video Provider and File Uploader).

* **`false` (default):** permissive mode. The invalid value is replaced by its default value and a warning is issued in the console.
* **`true`:** strict mode. The SDK stops execution and displays the error `SettingsError` ([code `SDK_137`](/docs.facephi-en/sdks/sdk-web/componentes/sdk-provider/codigos-de-error.md)).

### Additional information

**It is not propagated to Selphi/SelphID:** this value only controls the validation of the `facephi-sdk-provider` (and of Video Provider and File Uploader). The widgets `facephi-selphi-widget` and `facephi-selphid-widget` do not inherit it: to control their validation, you must define `settingsStrictness` it directly in each of them.

***

## Example

```jsx
<facephi-sdk-provider
    apikey={process.env.FACEPHI_SDK_APIKEY}
    settingsStrictness={true}
/>
```
