Symptoms

API methods pem.setAccountInfo and pem.addAccountMember called for an account existing in OA only fail because it does not exist in BA.

Execution of pem.setAccountInfo fails with the following error message:

# curl -d@pem.setAccountInfo http://localhost:8440
<?xml version="1.0" encoding="UTF-8"?><methodResponse><fault><value><struct><member><name>faultCode</name><value><int>-1</int></value></member><member><name>faultString</name><value><string>org.omg.CORBA.UNKNOWN: </string></value></member></struct></value></fault></methodResponse>

pem.addAccountMember will result in the next output:

# curl -d@pem.addAccountMember http://localhost:8440
<?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>module_id</name><value><string>BillingApiManager</string></value></member><member><name>error_message</name><value><string>You are not allowed to add Users to Account #5000001. </string></value></member><member><name>error_code</name><value><i4>1</i4>

The corresponding errors can be found in /var/log/pa/core.log on the Management Node:

Nov 1 01:23:45.806 : DBG [openapi:10762 p:-default-threadpool;-w:-Idle:568 pau]: c.p.p.s.b.e.BillingApiRawAccessBean PBA API method BM::AccountUpdateWithLocale failed with the following error: Table Account doesn't contain row with id 5000001. 

or

Nov 1 01:23:45.806 : DBG [openapi:10760 remoting-task-102:668 pau]: c.p.p.s.b.e.BillingApiRawAccessBean PBA API method BM::UserWithIDAdd_API failed with the following error: You are not allowed to add Users to Account #5000001. 

/var/log/pa/billing.log on Billing Application server contains the following data:

[19-11-01 01:23:45.740 BM_Object   RQ13634120 TH44958 NTE]  ExceptionResult: Table Account doesn't contain row with id 5000001. 

or

[19-11-01 01:23:45.798 REPORTER_Ob RQ13632819 TH44993 TRC] +++[0] ItemResult* REPORTER::ProblemReportAdd(Int, Str, Str, Str, Str, Str)(20xcd602be90xb67a83e6You are not allowed to add Users to Account #$1. 19-11-01_01_23_45_13632819You are not allowed to add Users to Account #5000001. )

Cause

The behaviour of pem.setAccountInfo and pem.addAccountMember is incorrect and was submitted as an internal request with ID #OA-9101 to address this issue.

Resolution

Contact your Technical Account Manager to trace #OA-9101 current status.

As a workaround, add the following lines to these API call XMLs:

               <member>
                  <name>originator</name>
                  <value>
                        <string>BM</string>
                  </value>
               </member>

Internal content