• Article for your preferred language does not exist. Below is international version of the article.

Article ID: 117495, created on Sep 25, 2013, last review on Oct 23, 2015

  • Applies to:
  • Operations Automation 5.5
  • Business Automation 5.5
  • APS 2.x


When installing/upgrading an application instance the task fails, the following error can be found it logs:

Sep 17 20:13:45 sandbox : INF [1:5721:b38eeb70:45760 1:651:af4fbb70 SAAS]: [task:26831 APSC] REST method returns 200 OK
Sep 17 20:13:45 sandbox : ERR [1:5721:b38eeb70:45760 1:651:af4fbb70 SAAS]: [task:26831 APSC] REST communication error: JsonKit::jsonParserError: Line 1: syntax error


Oct 9 17:49:45 server1: ERR [openapi: 1:20930:f32ffb90 lib]: [txn:60759 SDK::ChangeSubscriptionLimitsObserver::onChangeSubscriptionLimits] ExSystem: module_id:'Common', ex_type_id:'1',Message:'Internal error: void Plesk::APS::ApplicationServiceInstanceReconfigurator::reconfigureServiceInstance() : [APSC] Line 1: syntax error.', deprecated_codes = (0, 0), properties = { reason: 'void Plesk::APS::ApplicationServiceInstanceReconfigurator::reconfigureServiceInstance() : [APSC] Line 1: syntax error', }
Oct 9 17:49:45 server1 : ERR [openapi: 1:20930:f32ffb90 lib]: [txn:60759 SDK::ChangeSubscriptionLimitsObserver::onChangeSubscriptionLimits] failed to notify observer sc_id 50 [SDK::ChangeSubscriptionLimitsObserver] (CORBA::Exception)


This error means that response from end-point is sent not in JSON format.


To troubleshoot the problem:

  1. Enable APS development mode in Operations Automation PCP to log more information:

    System > Settings > Core > System Properties > APS development mode

  2. Tail main Operations Automation debug log to a file while reproducing the problem (rerunning the task):

    tail -f /var/log/poa.debug.log > log

  3. Check the resulting log above the 'Line 1: syntax error' error. Received data is logged along with request to get it manually from command line, it looks like this:

    curl -D- -X POST -H 'APS-Controller-URI:' -H 'APS-Instance-ID: 4a836e40-d9a5-43bd-bec4-2279b6fa0288' -H 'APS-Transaction-ID: ca17e7ab-891c-4751-afd5-7b996a08e7d5' -H 'Accept: text/html' -H 'Host: endpoint.sandbox.test.tld' -d @/tmp/0da43c44-2c1e-4e8d-a9d2-716fde3f6df2.20130923T130937.238999 http://endpoint.sandbox.test.tld/globals

  4. Fix endpoint to respond correctly, to test the response run the curl command found in log on step 3.

Search Words

aps provisioning syntax error

REST communication error

JsonKit::jsonParserError: Line 1: syntax error

autoProvisionApplicationService syntax error

Order Provisioning failed: duplicate key value violates unique constraint "account_pk"

717db81efe94e616312b74fb03a5d474 70bf700e0cdb9d7211df2595ef7276ab 5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e 198398b282069eaf2d94a6af87dcb3ff 801221f8cd76fba7300d1e6817c8e08b 92711db0799e8aefe8e51f12dace0496

Email subscription for changes to this article
Save as PDF