# SyncObjects

Forces Media Server to synchronize its object recognition training with the latest data in the database.

When you train Media Server, the database is updated with new training data. However, Media Server does not use this training in analysis operations until it has synchronized with the database.

TIP: Media Server automatically synchronizes with the database before starting analysis, and at regular intervals. You only need to run this action if you have disabled automatic synchronization.

If you have disabled automatic synchronization but want your object recognition task to use the latest training, run `SyncObjects` and wait for the synchronization to complete before starting the task with the Process action.

You can also use this action to synchronize with the latest training while Media Server is processing a continuous video stream.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name of the object database that you want Media Server to synchronize with. If you do not set this parameter, Media Server synchronizes with all object databases. | No

## Example

    /action=SyncObjects

## Response

    <autnresponse>
       <action>SYNCOBJECTS</action>
       <response>SUCCESS</response>
       <responsedata></responsedata>
    </autnresponse>

_FT_HTML5_bannerTitle.htm