# The applicable law and retention

Each code of this family: what it means, its most frequent cause, what to do and who can do it.

[All error codes](https://www.azothos.ai/docs/errors)

### `zone_invalid`

- **What it means**: A zone is not a code Azoth knows.
- **Most frequent cause**: A country name instead of its ISO 3166 code, such as FR or US-CA, or a typo.
- **What to do**: A zone is not a valid code: use ISO 3166 country codes (FR, US-CA) or EU, EEA.
- **Who can do it**: An owner or admin of the workspace · [Open the screen](https://www.azothos.ai/dashboard/regles?tab=jurisdictions)

### `sector_invalid`

- **What it means**: A sector is not one of the list.
- **Most frequent cause**: A value typed by hand instead of picked from the list.
- **What to do**: Choose sectors from the list.
- **Who can do it**: An owner or admin of the workspace · [Open the screen](https://www.azothos.ai/dashboard/regles?tab=jurisdictions)

### `provider_invalid`

- **What it means**: A provider name is not valid.
- **Most frequent cause**: A typo, or a provider Azoth does not know.
- **What to do**: A provider name is not valid.
- **Who can do it**: An owner or admin of the workspace · [Open the screen](https://www.azothos.ai/dashboard/regles?tab=jurisdictions)

### `mechanism_unknown`

- **What it means**: A transfer safeguard is not one the laws covered here recognise.
- **Most frequent cause**: A safeguard typed by hand, or one from a law Azoth has no pack for yet.
- **What to do**: A transfer safeguard is not one the laws here recognise.
- **Who can do it**: An owner or admin of the workspace · [Open the screen](https://www.azothos.ai/dashboard/regles?tab=jurisdictions)

### `pack_unknown`

- **What it means**: A law or a standard to apply is not in the list Azoth ships.
- **Most frequent cause**: A pack reference typed by hand, or one this version does not include.
- **What to do**: A law or standard to apply is not in Azoth’s list.
- **Who can do it**: An owner or admin of the workspace · [Open the screen](https://www.azothos.ai/dashboard/regles?tab=jurisdictions)

### `jurisdiction_unavailable`

- **What it means**: The applicable law is not set up on this deployment yet.
- **Most frequent cause**: On Azoth’s service, an update not applied yet. On a deployment of your own, its operator has not applied the latest database updates.
- **What to do**: The applicable law is not set up on this deployment yet. On Azoth’s service, contact support; on your own deployment, its operator applies the latest update.
- **Who can do it**: Azoth, or the operator of this deployment

### `jurisdiction_write_failed`

- **What it means**: The applicable-law settings could not be saved.
- **Most frequent cause**: A brief database problem.
- **What to do**: The applicable-law settings could not be saved.
- **Who can do it**: Azoth, or the operator of this deployment

### `justification_too_short`

- **What it means**: The justification is too short to be kept with the decision.
- **Most frequent cause**: A few words where 50 characters at least are asked.
- **What to do**: Write a justification of 50 characters at least.
- **Who can do it**: Any member of the workspace

### `override_duration_invalid`

- **What it means**: A reading of the law lasts from 1 to 365 days.
- **Most frequent cause**: A duration of zero days, or of more than a year.
- **What to do**: A reading of the law lasts from 1 to 365 days.
- **Who can do it**: An owner or admin of the workspace · [Open the screen](https://www.azothos.ai/dashboard/regles?tab=jurisdictions)

### `rule_unknown`

- **What it means**: The rule named is in no law pack Azoth knows.
- **Most frequent cause**: A rule reference from another version of the pack, or typed by hand.
- **What to do**: That rule is not in any law Azoth knows.
- **Who can do it**: An owner or admin of the workspace · [Open the screen](https://www.azothos.ai/dashboard/regles?tab=jurisdictions)

### `effect_invalid`

- **What it means**: The way the rule is applied is not one of the choices.
- **Most frequent cause**: A value typed by hand instead of picked from the list.
- **What to do**: Choose how the rule is applied from the list.
- **Who can do it**: An owner or admin of the workspace · [Open the screen](https://www.azothos.ai/dashboard/regles?tab=jurisdictions)

### `override_not_found`

- **What it means**: That reading of the law no longer exists.
- **Most frequent cause**: It was revoked, or it had ended already.
- **What to do**: That reading of the law no longer exists, or was revoked already.
- **Who can do it**: An owner or admin of the workspace · [Open the screen](https://www.azothos.ai/dashboard/regles?tab=jurisdictions)

### `evidence_invalid`

- **What it means**: An evidence date of the mandate is not valid.
- **Most frequent cause**: A date in the future, or a kind of evidence that no law covering the mandate asks for.
- **What to do**: An evidence date is not valid: use a day in the past, for a kind of evidence a law asks for.
- **Who can do it**: An owner or admin of the workspace · [Open the screen](https://www.azothos.ai/dashboard/mandats?tab=systems)

### `retention_below_floor`

- **What it means**: This retention window is shorter than the law that applies to the workspace asks for.
- **Most frequent cause**: A law pack the workspace applies keeps these records for a minimum period.
- **What to do**: This window is shorter than the law that applies to you asks for these logs.
- **Who can do it**: An owner or admin of the workspace · [Open the screen](https://www.azothos.ai/dashboard/settings?section=modules)

### `eu_storage_unavailable`

- **What it means**: The workspace’s data policy requires EU-only storage for this data, and this deployment cannot guarantee it: the batch was refused and nothing was stored.
- **Most frequent cause**: A data policy with EU-only storage turned on — for the workspace, a connector or an environment — while the data is sent to a deployment that does not keep it in the EU only.
- **What to do**: This workspace’s data policy requires EU-only storage, which this deployment cannot guarantee: nothing was stored. Send the data to an EU deployment, or ask an owner or admin to review the data policy.
- **Who can do it**: An owner or admin of the workspace

### `change_not_found`

- **What it means**: This regulatory change is not waiting for a review.
- **Most frequent cause**: It was reviewed already, or it belongs to another workspace.
- **What to do**: This change is not waiting for a review.
- **Who can do it**: An owner or admin of the workspace · [Open the screen](https://www.azothos.ai/dashboard/regles?tab=jurisdictions)

### `data_policy_violation`

- **What it means**: The workspace’s data policy refused this batch, so nothing was stored.
- **Most frequent cause**: A rule of the data policy the batch does not meet.
- **What to do**: An owner or admin reviews the workspace’s data policy — the rule this batch does not meet — then corrects the batch or the policy.
- **Who can do it**: An owner or admin of the workspace
