ORA-06502 ORA-06512 While Migrating APEX Application Through SQLPlus But Works Fine Through APEX

(Doc ID 2186517.1)

Last updated on OCTOBER 05, 2016

Applies to:

Oracle Application Express (formerly HTML DB) - Version and later
Information in this document applies to any platform.


Problem :
Tried to import an application from one environment to other using SQLPlus and received the following error:

ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "APEX_050000.WWV_FLOW_API", line 12384
ORA-06512: at line 992

But when importing the application manually through APEX, it worked fine.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms