My Oracle Support Banner

DBMS_LDAP Code Returns: Error code : -31201 Error Message : ORA-31201: DBMS_LDAP: generic error: Invalid BER ELEMENT Exception encountered .. exiting (Doc ID 2036248.1)

Last updated on FEBRUARY 22, 2017

Applies to:

Oracle Internet Directory - Version 9.0.4 to 11.1.1 [Release 10gR1 to 11g]
Information in this document applies to any platform.

Goal

Custom dbms_ldap code returns error:

       Error code    : -31201
Error Message : ORA-31201: DBMS_LDAP: generic error: Invalid BER ELEMENT
       Exception encountered .. exiting

What is the meaning of this error and how to resolve it?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.