ITFM Workbench throwing "A JSONArray text must start with '[' at character 0 of" Error during Bucketing Stage


Description

When running the Bucketing Step inside the ITFM Workbench, you are seeing the following Error:

A JSONArray text must start with '[' at character 0 of

This appears only if you are performing actions on another tab and leave the Bucketing executing in the Background.


Error Example:

Cause

This is most likely happening because of the Grooming Conditions for the Cost Plan you are using.

You will find that some Grooming Condition Records have an empty 'Target values' Field.

This is then being evaluated as Null when an Array is expected and the error is being thrown.

Resolution

  1. Navigate to Financial Modeling > Cost Models > Grooming Conditions
  2. Add a Filter for Cost Model = <AFFECTED_COST_MODEL>
  3. Now add another Filter for Target values = NULL
  4. Set the Target values to [] for all these records