Skip to main content
Skip table of contents

How to Troubleshoot Issues

During configuration, you might have difficulties finding the root cause of an issue. Memority provides several features to help you understand and fix your configuration.

Troubleshooting Process

To find the root cause, follow these steps in order:

Step 1: Read the error message
Step 2: Check the audit
Step 3: Check the logs

Step 1: Read the Error Message

If an error occurs, an error message appears. There are two types:

  1. Functional message. A validation rule causes this type of message. It usually means there is a data consistency problem.

image-20250904-094720.png

Example of a functional error message

  1. Technical message. A configuration issue usually causes this type of message.

image-20250904-122843.png

Example of a technical error message

When you get a technical error, click the More details button to see helpful information. Copy this information if you need to share it.

  • Label: Short error title

  • Description: Error description with more information

  • Tracking ID: Unique identifier that links to audit traces for the action

  • Timestamp: Date and time of the error

image-20250904-123118.png

Example of technical error details

Next step: If this information does not help, check the audit.

Step 2: Check the Audit

The audit logs all the actions in the tenant. It tracks changes made by users, administrators, or the system, including object or configuration creation, updates, and deletions.
Use the audit as your main information source when you troubleshoot errors.

For more information about the audit, see the configuration guide.

This chapter focuses on the full audit (available via the administration portal or via the administration menu of the user portal).
For example, it does not cover the cockpit audit displayed on the identity’s cockpit. Both audits display the same level of information but due to the object-centric nature of the cockpit audit, it hides some traces that can be useful for investigations.

We recommend to use the full audit for advanced investigations.

You can also access the audit through Memority APIs by retrieving it in Postman collection in our documentation.

Access

You can open the audit log from:

  • User portal → Administration → Audit (unless you modified presets)

  • Administration portal → System → Audit

Both display the same information in the same format.
By default, the audit log displays the last 24 hours of activity.

Filter

To retrieve easily an action, use filters. Memority combines all the filters with a logical AND to filter the audit events.
For example, if you filter by:
Date = In last 7 days
Actor = User123
Outcome = Failure
The filtered results will include only the failed actions by user123 within the last 7 days.

To add a filter:

  1. Select Add Filter…

  2. Choose one or more filter types

  3. Enter a value for each filter

image-20250904-124853.png

Adding filters to an audit query

The table below lists some useful filters and how to use them:

Filter

Format

Description

Date

Period

Choose a time frame for the filter. You can select a range (from seconds to years in the past) up to the current moment, or specify exact dates.

image-20250904-125454.png
image-20250904-125522.png

Date

Interval

To set a date interval, click the calendar button and choose the start and end dates.

image-20250904-125709.png

Actor

User identifier

Enter a user’s ID to see all audit items involving that user.

Optionally, use the drop-down list to specify the user’s role (for example, beneficiary or requester).

image-20250904-130019.png

Titles

Audit titles

Select one or more audit titles to filter results.
Titles link to data, policy execution, or configuration changes.

image-20250904-130712.png

Outcomes

Boolean

Filter results by outcome: success or failure.

image-20250904-130824.png

Trackings

UUID

Enter the UUID of a tracking ID (log ID, policy execution, or other).
Log IDs are especially useful because they link to an action context and connect all actions triggered by the initial action.
Optionally, use the drop-down list to choose the type of tracking in the audit.

image-20250904-131420.png

Details

String

Filter on any information in an audit item.

Select an attribute and a value you would like to search for.

Since this kind of search can take a long time, make sure you use a precise date filter to narrow the results and improve the request.

image-20250904-131855.png

Information

Memority audit events include the following details (see the screenshot below):

1. Operator: Unique user ID and the associated full name.

2. Timestamp: Date, time and timezone of the action.

3. Change type: Indicates the type of transaction, such as insert, inactivate, or modify.

4. Record ID: Record identification, including the tracking IDs that will link all the action-related events.

image-20250904-133033.png

Example of an audit event

Access more details in the full audit event. You can open it using the View Full Audit Event button in the top right corner of the screenshot above.

The full audit event includes additional information, such as:

2. Timestamp: Date, time and time zone of the action.

5. New value: Record value after the change.

6. Old value: Record value before the change.

image-20250904-132801.png
image-20250904-133147.png

Example of a full audit event

In certain cases, such as provisioning errors or role assignmenst, the full audit can provide more information:

  • Configuration used for the action.

  • Error returned by the application.

  • Comment explaining the change.

image-20250904-132901.png

Example of an error message raised by the SAP connector during account provisioning

image-20250904-133210.png

Example of a meaning message in a role assignment request

If the audit information does not help you understand the issue, review the logs.

Step 3: Check the Logs

Integrators define the logs in any configured Groovy hook (for example, policies, import, provisioning or attribute compute rules).

Definition

You can write the logs with the LOG binding. For more details, check the documentation.

There are two types of logs:

  1. Generic log. Adds information to the log feature at a certain level. For example, LOG.debug.

  2. Audit log. Adds information to the audit action. The audit log is useful to send the details to the support team. For example, LOG.audit.

We recommend using only Debug and Trace detail levels.

Activation

You can activate the logs service per service by using the following setting:

CODE
%SERVICE%.app-logs.level.rule.level

Logs remain active for an hour.

Services that support logs:

  • IDM - Attribute rules, object policies and life cycle policies

  • BUM - Business policies

  • SYNC - Import and provisioning

  • Access - Authentication and federation

  • RBA - Risk computation rules

To activate logs, select the level of logging detail you want to see in the log feature.

We recommend using only Debug and Trace detail levels.

image-20250904-135434.png

Log settings for an IDM service

Access to the log feature

You can access the log feature from the Administration portal → System.

By default, the filter shows logs from the last day.

Filter

To find a log, apply filters. Memority combines all filters with a logical AND.

To add a filter:

  1. Click Add Filter…

  2. Select one or more filter types

  3. Enter a value for each filter

image-20250904-152501.png

The table below lists some useful filters and how to use them:

Filter

Format

Description

Date

Period

Choose a time frame for the filter. You can select a range (from seconds to years in the past) up to the current moment, or specify exact dates.

image-20250904-125454.png
image-20250904-125522.png

Date

Interval

To set a date interval, click the calendar button and choose the start and end dates.

image-20250904-125709.png

Service

Service name

Select the service that generated the log (for example, IDM or BUM) to filter the results.

image-20250904-153055.png

Tid

UUID

Enter the UUID of a tracking ID (for example, log ID or policy execution).

Log IDs are especially useful because they link to an action context and connect all actions triggered by the initial action.

image-20250904-153157.png

Message

String

Enter keywords to filter log messages.

image-20250904-153508.png

Information

Each log entry shows:

  • Message: The log message itself

  • Level: The log level

  • Service: The service that generated the log

  • Timestamp: Date and time of the log

  • Rule: The rule category and rule type that generated the log

  • Script line: The line in the script where the log was created

image-20250904-153712.png

Example of log details

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.