> For the complete documentation index, see [llms.txt](https://help.security.gallagher.com/knowledge-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.security.gallagher.com/knowledge-hub/products/cc-software/troubleshoot/command-centre-errors/command-centre-errors-an-overview-of-a.md).

# An overview of Asserts

An **ASSERT** is a generic internal error signal that surfaces in the Command Centre logs or client.

![Example ASSERT error message](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2FaNgoVfyYotOQh04Vu01E%2FAssert.png?alt=media\&token=c87c6618-3986-4b5c-9dbb-a78802ba2eec)

#### **Log locations:**

```
C:\ProgramData\Gallagher\Command Centre\Command_centre.log
C:\Users\<user>\AppData\Local\Gallagher\Command Centre\CommandCentreClient.log
```

#### Troubleshooting

Log files are used when troubleshooting issues on a site, certified Channel Partners can reach out to Gallagher Technical Support to diagnose and fix these issues.

## Controller asserts when a cardholder has more than 255 access group entries

**Symptom:** Command Centre starts to assert with this detail:

```
ASSERT, C:\build\Elmo\ControllerItem\BertCard.cpp(112): #5ee6079c cardMemberships.size() <= UCHAR_MAX
```

![Log line: ASSERT, C:\build\Elmo\ControllerItem\BertCard.cpp(112): #5ee6079c cardMemberships.size() <= UCHAR\_MAX](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-3ab46044f47a79bb93856d267b71331b534ea3ea%2FSECHUB-TS-ACCESS-GROUP-255-ASSERT-01-log-line.png?alt=media)

**Affected versions:** this bug was introduced in **v7.90** by an ActionOnAccess change.

**Cause:** when multiple temporary access group memberships (with an expiry date) are assigned to a cardholder, most of them duplicate memberships of the same group, they are calculated incorrectly and sent down to the controller, unnecessarily increasing the memory footprint. When this number reaches more than 255, Command Centre starts to assert.

**Fix (status as recorded on 2021-09-27):** "Fix has been implemented in v8.30MR3 (yet to be released), v8.40MR2 (yet to be released)." Command Centre now consolidates the temporary access group membership counts before sending them down to the controller. An example of the consolidation, assuming all memberships are for the same access group:

| Before                      | After                       |
| --------------------------- | --------------------------- |
| Membership1 = 08:00 > 11:00 | Membership1 = 07:00 > 14:00 |
| Membership2 = 07:00 > 11:00 | Membership2 = 17:00 > 19:00 |
| Membership3 = 10:30 > 14:00 |                             |
| Membership4 = 17:00 > 19:00 |                             |

***

🔗 **Related**

* [An overview of Exceptions](https://help.security.gallagher.com/knowledge-hub/products/cc-software/troubleshoot/command-centre-errors/command-centre-errors-an-overview-of-e.md). The other generic error class.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.security.gallagher.com/knowledge-hub/products/cc-software/troubleshoot/command-centre-errors/command-centre-errors-an-overview-of-a.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
