> Source: [sk174183](https://support.checkpoint.com/results/sk/sk174183)

# sk174183 - "Global Domain Assignment Failed: An internal error has occurred" - global assignment to the domain failed with this error 

| Property | Value |
|----------|-------|
| Solution ID | sk174183 |
| Date Created | 2021-06-23 |
| Last Modified | 2022-03-23 |
| Technical Level | General |
| Products | Multi-Domain Security Management Server |
| Versions | R81 (EOS) |
| OS | Gaia |

## Symptoms

- * "`Global Domain Assignment Failed: An internal error has occurred.`" error on global domain assignment failure.

* The `$MDS_FWDIR/log/cpm.elg` file shows these errors:

  ```
  "[date] [time],743 ERROR coresvc.internal.GlobalDomainAssignmentSvcImpl [taskExecutor-696]: Exception in Global Domain Reassignment.
  java.util.concurrent.ExecutionException: com.checkpoint.infrastructure.utils.runtime.CpAssertionError: 
  Found %d different properties of assigning a global access policy, expected just one.
  ...
  [date] [time],743 ERROR coresvc.internal.GlobalDomainAssignmentSvcImpl [taskExecutor-696]: GlobalDomainAssignmentTask: caught exception.
  CpmGeneralException{base='com.checkpoint.management.is.exceptions.CpmGeneralException: An internal error has occurred.', 
  errorCode='CP_ERR_UNSPECIFIED', errorFamily='null', messageForUser='null', message='An internal error has occurred.'}"
  ...
  [date] [time],770  INFO coresvc.internal.GlobalDomainAssignmentSvcImpl [taskExecutor-696]: 
  updating TaskNotification: progress: -1 description: Global Domain Assignment Failed: An internal error has occurred. status: FAILED
  ...

  [date] [time],697  INFO dleserver.utils.LogSaverForFailedTasks [taskExecutor-696]: 
  title.toLowerCase() is assign 'global' to 'domain_name'_global domain assignment failed: an internal error has occurred. 
  ```

* There are duplicate Access Control policies in the problematic domains.   
  In this example, there is a duplication of the Access Control policy for three domains:   

  ```
  cpm=# select objid, dtype, domainid from policyassignment_data where not deleted and dlesession=0 and domainid in 
  ('c5941043-cfb3-4293-bd02-a429e9ef45da','02c7f74a-64c8-44b8-856b-1360f554f8d4','9473df0d-e66b-43cb-a862-d34cda8f31bb') order by domainid;
  
  
                  objid                 |         dtype          |               domainid
  --------------------------------------+------------------------+--------------------------------------
   452d3e17-18af-454f-b497-3675bd6c13bc | AccessPolicyAssignment | 02c7f74a-64c8-44b8-856b-1360f554f8d4
   f2657641-ae4b-4284-81f9-811b6cc3a5c9 | AccessPolicyAssignment | 02c7f74a-64c8-44b8-856b-1360f554f8d4
   d975da39-11cb-4965-9eca-c997761be77b | ThreatBladeAssignment  | 02c7f74a-64c8-44b8-856b-1360f554f8d4
  
   cf6cc174-aef0-4833-8416-42649318ad71 | AccessPolicyAssignment | 9473df0d-e66b-43cb-a862-d34cda8f31bb
   f885608f-6d32-4908-8150-dbfbcec8736e | AccessPolicyAssignment | 9473df0d-e66b-43cb-a862-d34cda8f31bb
   90692393-28e9-49e7-bb58-420d4e73b8f2 | ThreatBladeAssignment  | 9473df0d-e66b-43cb-a862-d34cda8f31bb
  
   42d80ee8-1b96-4919-8efb-62e0662a492a | ThreatBladeAssignment  | c5941043-cfb3-4293-bd02-a429e9ef45da
   85701218-a1b6-4738-b3c3-6673a70ea498 | AccessPolicyAssignment | c5941043-cfb3-4293-bd02-a429e9ef45da
   ffe8bfe3-6b21-4624-a262-767163efc654 | AccessPolicyAssignment | c5941043-cfb3-4293-bd02-a429e9ef45da
  (8 rows)
  ```

## Cause

Duplication of data type "*AccessPolicyAssignment*" in the domains in which Global policy assignment fails.

## Solution

This problem was fixed. The fix is included in:

* [Jumbo Hotfix Accumulator for R81](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk170114) starting from Take 51
* [Jumbo Hotfix Accumulator for R80.40](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk165456) starting from Take 150
* [Jumbo Hotfix Accumulator for R80.30](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk153152) starting from Take 241
* [Jumbo Hotfix Accumulator for R80.20](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk137592) starting from Take 208

If you choose not to upgrade, [Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to resolve the issue.   
A Support Engineer will make sure the procedure is compatible with your environment before running it.   
For faster resolution and verification please collect [CPinfo](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92739) files from the Security Management involved in the case.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
