My Oracle Support Banner

ORA-00942 Running apex_rest_config.sql Script (Doc ID 2581455.1)

Last updated on FEBRUARY 18, 2021

Applies to:

Oracle Application Express (APEX) - Version 19.1 and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

On : APEX 19.1

When attempting to run apex_rest_config
the following error occurs.

ERROR
-----------------------
...create APEX_LISTENER and APEX_REST_PUBLIC_USER users
PL/SQL procedure successfully completed.
User altered.
Grant succeeded.
Grant succeeded.

grant select on APEX_180200.wwv_flow_companies to APEX_LISTENER
  *
ERROR at line 1:
ORA-00942: table or view does not exist
grant select on APEX_180200.wwv_flow_lsnr_workspaces to APEX_LISTENER
                           *
ERROR at line 1:
ORA-00942: table or view does not exist

grant select on APEX_180200.wwv_flow_lsnr_applications to APEX_LISTENER
                           *
ERROR at line 1:
ORA-00942: table or view does not exist

grant select on APEX_180200.wwv_flow_lsnr_entry_points to APEX_LISTENER
                           *
ERROR at line 1:
ORA-00942: table or view does not exist


begin
*
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at line 6
ORA-06512: at line 6

grant insert, update, delete, select on APEX_180200.wwv_flow_rt$privileges to APEX_LISTENER

....

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. sqlplus / as sysdba

2. SQL> @apex_rest_config.sql


Changes

 Upgrade to APEX 19.1

Cause

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
Symptoms
Changes
Cause
Solution


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