# S03015 {#s03015}

## Error Code {#error_code .section}

S03015

## Error Message {#error_message .section}

`When the fill parameter is a vector, its size must be consistent with the number of elements specified in metrics. RefId: S03015`

## Probable Causes {#probable_causes .section}

This error occurs when a vector specified for the *fill*parameter of function `createTimeSeriesEngine` or `createDailyTimeSeriesEngine` does not match the length of *metrics*.

## Solutions {#solutions .section}

Check the specified *fill*and *metrics*. When *fill*takes a vector, its length must match the length of *metrics*, specifying the filling method for each metrics. Its elements can only be 'null', 'ffill' or a number of the same type as the result of *metrics*.

**Parent topic:**[Error Code Reference](../../Troubleshooting/ErrorCode.md)

