Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Unable to acess Get services because of TL_ATTR_NOT_FOUND error

I am facing the below error when I try to access the get services using a VO which is configured to EO and the EO is associated to TranslationEO .

<REST> <Error caused by the server> <Error Type=oracle.jbo.JboException>
<oracle.adf.model> <RESTError> <logError> <Error caused by the server>
oracle.jbo.JboException: TL_ATTR_NOT_FOUND
at oracle.apps.fnd.applcore.oaext.model.OATranslatedEntityStaticInfo.<init>(OATranslatedEntityStaticInfo.java:252)
at oracle.apps.fnd.applcore.oaext.model.OAEntityImpl.getTranslatedEntityStaticInfo(OAEntityImpl.java:2400)
at oracle.apps.fnd.applcore.oaext.model.OAEntityImpl.getTranslatedEntityStaticInfo(OAEntityImpl.java:2419)
at oracle.apps.fnd.applcore.oaext.model.OAEntityImpl.getTranslatedAttributesIndexMap(OAEntityImpl.java:2457)
at oracle.apps.fnd.applcore.oaext.model.OAEntityImpl.mapTranslatedIndexBToTl(OAEntityImpl.java:2612)
at oracle.apps.fnd.applcore.oaext.model.OAEntityImpl.getAttribute(OAEntityImpl.java:3299)
at oracle.apps.fnd.applcore.oaext.model.OAEntityImpl.getAttributeInternal(OAEntityImpl.java:3272)

Comments

thatJeffSmith-Oracle Feb 13 2025

Your ENTRA users will get authenticated via JSON Web Tokens, and their Entra roles will determine which ORDS REST APIs they can hit.

When they hit an endpoint, it'll execute code in the database as the database user that owns the schema where the REST API is defined, not as Entra defiend end user. In fact, the Entra users won't have accounts in the database (they could, but wont' need to).

The :current_user field as far as ords is concerned would be the corresponding oauth2 client or JWT issued for the authorizied session.

Your prehook should be able to alter the session to set the context that would put your RLS/VPD security policy in play.

1 - 1

Post Details

Added on Aug 26 2024
1 comment
70 views