Search Engine: Elastic

Article ID: 130450, created on Mar 17, 2017, last review on Mar 17, 2017

  • Applies to:
  • Operations Automation 7.0
  • Business Automation 7.0


OSA platform has been upgraded from 6.0 to 7.0.

Some APS 2.0 application provisioning tasks started to fail with error:

APS Application Error:
500 Internal Server Error
[Rest::RestException] Access Denied. Unauthorized request..
Body: {
"code": 500,
"error": "Rest::RestException",
"message": "Access Denied. Unauthorized request.",
"error": "",
"message": "Access Denied. Unauthorized request.",
"packageId": "551f7e8c-0b92-4d80-b06d-61bc090d92d3"

In /var/log/pa/core.log the following errors can be found at the time of the failure:

2017-03-09T20:14:33.747441+01:00 : DBG [bss-rest-endpoints:1922 pa-rest-task-169 pau]: c.p.p.s.b.u.e.BillingApiInvocationContextBuilderBean Could not find PAAccount for given actor. Error: null
2017-03-09T20:14:33.748925+01:00 : DBG [bss-rest-endpoints:1922 pa-rest-task-169 pau]: c.p.b.r.e.BSSAPSErrorHandler APS error occured Access Denied. Unauthorized request.#012#011at 


Changes in Billing Upsell API on BA 7.0 require the application code to be improved.


Contact the corresponding APS application packager and request a new version of the application, fully tested and compatible with OSA 7.0.

To patch the application code and resolve the issue in the meantime, it is enough to find the spots, where the following call is made:

$pba = $apsc->getResources("implementing(")

and change it to:

$pba = $apsc->impersonate($this)->getResources("implementing(")

Important note: make sure that the latest version of aps-php-runtime package is installed. It can be downloaded here: PHP Runtime Library Downloads

c0f836394088a28cc30dd0e5fe8b600e caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 198398b282069eaf2d94a6af87dcb3ff b2c3b33425dfc50c7d41a2efaa7f84f3 a7f95d5862f1c550c66223575e1594aa 6311ae17c1ee52b36e68aaf4ad066387 0871c0b47b3b86ae3b1af4c2942cd0ce 5356b422f65bdad1c3e9edca5d74a1ae 1941880841f714e458ae4dc3d9f3062d

Email subscription for changes to this article
Save as PDF