My Oracle Support Banner

401 Unauthorized Error While Accessing Custom REST API From Custom BillingCare UI (Doc ID 2903861.1)

Last updated on FEBRUARY 21, 2024

Applies to:

Oracle Communications Billing and Revenue Management - Version and later
Information in this document applies to any platform.


On Billing Care ( installed for test and development.

When trying to use custom REST API (Representational State Transfer Application Programming Interface) build as part of Billing Care customization customer is getting getting 401 unauthorized error.

Customer is following BillingCare SDK (Software Development Kit) guide 12 (link above) for building custom project. From this document in Section 4, using the below code:


Subject subject = Security.getCurrentSubject();
  // create new error object
  EnforcementError error = new EnforcementError(20020,"You are not authorized to save credit profile");
  EnforcementUtil.checkAccess(subject, EnforcementConstants.APPLICATION,"make","CreditProfileResourceType","CreditProfileResource",error);


Is getting: “Error 401 – Unauthorized”




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

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