# S03014 {#s03014}

## Error Code {#error_code .section}

S03014

## Error Message {#error_message .section}

`The time-series engine only accepts aggregate functions as metrics. RefId: S03014`

## Probable Causes {#probable_causes .section}

This error occurs when non-aggregate functions are specified in the *metrics*parameter of function `createTimeSeriesEngine` or `createSessionWindowEngine`.

## Solutions {#solutions .section}

Modify the parameter *metrics*of function `createTimeSeriesEngine` or `createSessionWindowEngine`.

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

