As Apex Developer I am working on developing applications but facing issues whenever something goes wrong i am getting below error with new pop window open on the app builder
An unexpected internal application error has occurred. Please get in contact with XXX and provide reference# for further investigation.
Technical Info (only available for developers)
-
is_internal_error: true
-
apex_error_code: WWV_FLOW_FORM_REGION.NO_PRIMARY_KEY_ITEM
-
original message: No Primary Key item has been defined for form region MAIN.
-
original_additional_info: Contact your application administrator.
-
component.type: APEX_APPLICATION_PAGE_PROCESS
-
component.id: 6848767538551602
-
component.name: Initialize form PLSQL_INSERT
-
error_backtrace:----- PL/SQL Call Stack ----- object line object handle number name 0x6d203ef8 982 package body APEX_230100.WWV_FLOW_ERROR.INTERNAL_GET_ERROR 0x6d203ef8 1050 package body APEX_230100.WWV_FLOW_ERROR.INTERNAL_ADD_ERROR 0x6d203ef8 1523 package body APEX_230100.WWV_FLOW_ERROR.RAISE_INTERNAL_ERROR 0x67ff30e0 425 package body APEX_230100.WWV_FLOW_FORM_REGION.GET_REGION_PROCESS_META_DATA 0x67ff30e0 1968 package body APEX_230100.WWV_FLOW_FORM_REGION.INIT_PROCESS_INT 0x67ff30e0 2348 package body APEX_230100.WWV_FLOW_FORM_REGION.INIT_PROCESS 0x6ce20d68 1379 package body APEX_230100.WWV_FLOW_PROCESS_NATIVE.EXECUTE_PROCESS 0x6d3817a0 3443 package body APEX_230100.WWV_FLOW_PLUGIN.EXECUTE_PROCESS 0x6ceb3288 189 package body APEX_230100.WWV_FLOW_PROCESS.PERFORM_PROCESS 0x6ceb3288 479 package body APEX_230100.WWV_FLOW_PROCESS.PERFORM 0xa521fa28 3257 package body APEX_230100.WWV_FLOW.SHOW.RUN_BEFORE_HEADER_CODE 0xa521fa28 3302 package body APEX_230100.WWV_FLOW.SHOW 0xa521fa28 5482 package body APEX_230100.WWV_FLOW.RESOLVE_FRIENDLY_URL 0x6d3fb3d8 2 anonymous block
My concern is That can we handle this error to show a
user-friendly error message and redirect it to our custom error page