Search Engine: Elastic

Article ID: 130349, created on Feb 27, 2017, last review on Feb 27, 2017

  • Applies to:
  • Operations Automation 7.0

Symptoms

In OSA 6.0 pem.APS.getAccountToken OpenAPI call was working with an account token and subscription_id = 1. Since OSA 7.0 it returns Authentication failed:

2016-11-17 02:43:02.070 [DEBUG] call method pem.APS.getAccountToken({'subscription_id': 1, 'txn_id': '2099840773', 'account_id': 1000010677})
2016-11-17 02:43:02.101 [DEBUG] return {'status': -1, 'error_message': 'Authentication failed.', 'extype_id': 53, 'module_id': 'APSManager', 'error_code': 0, 'properties': {'subscription_id': 1, 'txn_id': '2099840773', 'account_id': 1000010677}}
2016-11-17 02:43:02.101 [ERROR] Authentication failed.

Cause

The former behavior was wrong and got fixed in OSA 7.0.

Resolution

Use subscription_id = 0 instead of 1 for non-provider accounts.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 0871c0b47b3b86ae3b1af4c2942cd0ce 1941880841f714e458ae4dc3d9f3062d

Email subscription for changes to this article
Save as PDF