Attribute lookup failed "the parameter is too long. The length can not exceed 2000 characters"

book

Article ID: 160547

calendar_today

Updated On:

Products

Data Loss Prevention Enforce

Issue/Introduction

When using the LiveLdap Lookup the incident details reveal the following error:

Attribute lookup failed "the parameter is too long. The length can not exceed 2000 characters"

Resolution

The maximum size of a custom attribute that is returned is 2000 characters.

To eliminate the risk of getting the error make sure the attribute value does not exceed 2000 characters by either trimming the value or extracting a substring from it.