My Oracle Support Banner

Save Interactive Grid Fails With ORA-06502 (Doc ID 2743876.1)

Last updated on JANUARY 13, 2021

Applies to:

Oracle Application Express (APEX) - Version 20.2 and later
Information in this document applies to any platform.


On : APEX 20.2 version, Flow Builder

When attempting to edit and save  save an Interactive Report (IR) or Interactive Grid (IG) after changing a row with a varchar2 column with data close to 4000 bytes (like 3990 or higher)
the following error occurs.

ORA-06502: PL/SQL: numeric or value error: character string buffer too small

The issue can be reproduced at will with the following steps:
1 Create an IG or IR based on a table with a varchar2 column where data has been entered close to the 4000 limit -- this column is read only in the report
2 Display the report and try to change other columns (any simple one character column per example)  -- notice that you have not added more data to the varchar2 almost full
3. Try to save the Row, get the error

Other rows in the same IG are able to edit and change values and save IF the varchar2 column has less characters on it (like 3800 per example)


 Created a new report page based on a table this table with varchar2 column where some rows fill in the capacity of the column


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

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