Hello
After I secure a REST service based on a pattern in the URL for the REST service, invoking the service results in an HTTP 500 error. The same service works correctly when it is no longer protected.
Any help is appreciated.
Varad
Error returned to caller
{
"code": "InternalServerError",
"message": "Internal Server Error",
"type": "tag:oracle.com,2020:error/InternalServerError",
"instance": "tag:oracle.com,2020:ecid/w53kXRgeTfF-x12TisfEFQ"
}
ORDS log has the following information
Msg = ORA-00604: error occurred at recursive SQL level 1
ORA-01031: insufficient privileges
select
p.name,
p.label,
p.description,
pm.pattern,
cursor(select r.name from user_ords_privilege_roles pr,
user_ords_roles r
where pr.privilege_id = p.id
and pr.role_id = r.id) roles
from user_ords_privileges p,
user_ords_privilege_mappings pm
where instr(?,trim(trailing '*' from pm.pattern)) = 1 and pm.privilege_id = p.id
order by pm.pattern desc