Search Engine: Elastic

Article ID: 131133, created on Jul 12, 2017, last review on Jul 12, 2017

  • Applies to:
  • APS 2.x

Symptoms

In OSA 7 in CCPv2 creation of a resource fails with the following output in UI:

Creation of resource with type 'http://vps.com/servers/hd/1.0' is not allowed. Make sure that corresponding Resource is included into Subscription and does not exceed its limit

Cause

This is a new feature of OSA 7. An application either has to be set to MSS (Multiple Subscription Services) mode or provide subscription ID in APS-Subscription-ID header. Default mode is AWS (Account Wide Subscription).

Please refer to documentation on subscription specification.

Resolution

MSS mode can be set in APP-META.xml as described here.

In AWS mode subscriptionID should be specified. It can be retrieved and specified the following way:

aps.context.subscriptionId = aps.context.vars.context.aps.subscription;

70bf700e0cdb9d7211df2595ef7276ab 717db81efe94e616312b74fb03a5d474

Email subscription for changes to this article
Save as PDF