Developer reference

Content policy conflict

← All problem types

https://filezar.io/problems/content-policy-conflict

HTTP status: 409

API scope: Filezar API and applicable first-party operations

When it happens

A governance change or Folder move would produce incompatible anonymous permissions and explicit Deny grants.

What to do

Correct the conflicting policy before repeating the operation.

Additional fields

policyConflict (required)
Conflicting policy sources using Filezar API field names. Internal UI responses use their own contract names.
Field schema
{
  "type": "object",
  "properties": {
    "spaceId": {
      "type": "string",
      "format": "uuid",
      "nullable": false
    },
    "affectedFolderId": {
      "type": "string",
      "format": "uuid",
      "nullable": true
    },
    "anonymousSourceFolderId": {
      "type": "string",
      "format": "uuid",
      "nullable": true
    },
    "deniedSubjectId": {
      "type": "string",
      "format": "uuid",
      "nullable": true
    },
    "denySourceFolderId": {
      "type": "string",
      "format": "uuid",
      "nullable": true
    },
    "denySourceAccessPolicyId": {
      "type": "string",
      "format": "uuid",
      "nullable": true
    },
    "permissions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}

Example response

Illustrative values only. Responses use application/problem+json.

{
  "type": "https://filezar.io/problems/content-policy-conflict",
  "title": "Content policy conflict",
  "status": 409,
  "detail": "Content policy conflict.",
  "instance": "urn:s3explorer:trace:example-trace",
  "traceId": "example-trace",
  "spanId": "example-span",
  "policyConflict": {
    "spaceId": "11111111-1111-4111-8111-111111111111",
    "affectedFolderId": null,
    "permissions": [
      "Download"
    ],
    "anonymousSourceFolderId": null,
    "deniedSubjectId": "22222222-2222-4222-8222-222222222222",
    "denySourceFolderId": null,
    "denySourceAccessPolicyId": null
  }
}

Every problem also uses the common response fields.

An unhandled error has occurred. Reload x