Error while configuring REST for Oracle APEX on Windows
Everything works if you:

create a new database (or use existing)
do alter session set container = yourDBname
and only then run @apexins.sql and other installation and config scripts (e.g., @apxchpwd.sql, @apex_rest_config.sql).

This will lead to creation of a new APEX instance inside current DB.