Skip to Main Content

Visual Builder

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!

OOTB way to handle 403 Forbidden in VBCS

AparajitMalliJawaharBapuJan 9 2024 — edited Jan 9 2024

Hi @shay-shmeltzer-oracle

We built a custom VBCS app and secured with roles.

When the user does not have the roles to access the app, we are getting a blank page and in the Developer Tools → Console, it shows 403 Forbidden, which is correct.

log.js:22 [VB (ERROR), /vb/stateManagement/application]: Error while loading user information Error: HTTP status: 403 Forbidden
at container.js:3350:1
t.<computed> @ log.js:22
container.js:3350 Uncaught (in promise) Error: HTTP status: 403 Forbidden
at container.js:3350:1

Is there an OOTB way to show a user friendly message “You are not have access to the app. Please contact your IT administrator to get access to the app”.

Comments
Post Details
Added on Jan 9 2024
3 comments
805 views