More Info About pin_content_deny_access Error Code (Doc ID 1391936.1)

Last updated on MARCH 27, 2012

Applies to:

Oracle Communications Billing and Revenue Management - Version: 7.4.0.0.0 and later   [Release: 7.4.0 and later ]
Information in this document applies to any platform.

Symptoms

Whenever the requested content is part of an explicit Deny list content category, the BRM should raise PIN_CONTENT_DENY_ACCESS error as mentioned in the BRM documentation:

 Service Integration Components - Content Manager - Content SDK - Using Content SDK

Instead of this, we got a PIN_CONTENT_DENIED_ACCESS_TO_CONTENT_CATEGORY. 

Below are the steps followed to reproduce this issue.

1. Modified the pin_content_srvc_profiles file to add a denied list of content category.
This is done by setting the Filter_Mode to 16:

Provisioning_Tag:RewardGamesPackage
Root_or_Brand_Tag:0.0.0.1 /account 1 1
Filter_Mode:16
Content_Category: BlackJack
Content_Category: Slots
Content_Category: Poker

2. Load the pin_content_srvc_profiles file
3. Create the account
4. Execute the CDK authorization transaction for Denied content category PIN_CONTENT_DENIED_ACCESS_TO_CONTENT_CATEGORY which works fine as expected.
5. If content category which is not loaded in the DB is passed now [ not part of Filter_Mode], get the PIN_CONTENT_DENY_ACCES error message.

Here is the input and output flist for the reference:

op_content_authorize input debug flist
# number of field entries allocated 20, used 11
0 PIN_FLD_POID POID [0] 0.0.0.1 /service/content/tm -1 0
0 PIN_FLD_AMOUNT DECIMAL [0] 1.5
0 PIN_FLD_LOGIN STR [0] "0429763009"
0 PIN_FLD_AUTHORIZATION_ID STR [0] "PSMS201197115003"
0 PIN_FLD_PROGRAM_NAME STR [0] "ContentDeveloperKit"
0 PIN_FLD_DESCR STR [0] "PSMS Transaction"
0 PIN_FLD_CONTENT_PROVIDER STR [0] "psmsnew"
0 PIN_FLD_EXTENDED_DATA ARRAY [0] allocated 20, used 2
1 PIN_FLD_VALUE STR [0] "G"
1 PIN_FLD_NAME STR [0] "TAX_CLASS"
0 PIN_FLD_END_T TSTAMP [0] (1324375321) Tue Dec 20 21:02:01 2011
0 PIN_FLD_CONTENT_CATEGORY_NAME STR [0] "Poker "
0 PIN_FLD_START_T TSTAMP [0] (1324375322) Tue Dec 20 21:02:02 2011


op_content_authorize return flist
# number of field entries allocated 20, used 3
0 PIN_FLD_POID POID [0] 0.0.0.1 /service/content/abc 42646576294 11
0 PIN_FLD_STATUS ENUM [0] 0
0 PIN_FLD_REASON ENUM [0] 6 <---- expected is 0 [PIN_CONTENT_DENIED_ACCESS]


Expected result

PIN_FLD_REASON should have been set to 0 [PIN_CONTENT_DENY_ACCESS]

Actual result

0 PIN_FLD_REASON ENUM [0] 6

where '6' means PIN_CONTENT_DENIED_ACCESS_TO_CONTENT_CATEGORY.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms