Symptoms

When trying to create a Service Template for my application resource type based on Application Counter (unith) is not added; the following message can be shown

No resources were selected

Cause

The following error can be found in /var/log/poa.debug.log (POA 5.5) or /var/log/poa.log (POA 6.0):

Dec 22 08:11:14 mn.b.egordeeva.apsdemo.org : ERR [UI:7c5e97ff:1438:1419225074439 1:6041:b2863b70 lib 2048699443]: [ SDK::AddSTResourceTypeObserver::onAddSTResourceType] ExSystem: module_id:'BMBridge', ex_type_id:'10',Message:'PBA reported error while trying to synchronize resources.    Error: -1, Table Unit of Measurement doesn't contain row with id unith. 
Error Code: 0x85c20417.
Report ID: 4.', deprecated_codes = (0, 0), properties = { code: '-1',descr: 'Table Unit of Measurement doesn't contain row with id unith.

Unith is not a standard unit of measurement and absent on fresh sandboxes (though some providers may have it already configured)

Resolution

  • Switch to PBA
  • navigate to System > Settings > Units of Measure
  • click [Add New Base Unit]
  • specify unith for both name and id

Internal content