# Set a connector sync job error **PUT /_connector/_sync_job/{connector_sync_job_id}/_error** Set the `error` field for a connector sync job and set its `status` to `error`. To sync data using self-managed connectors, you need to deploy the Elastic connector service on your own infrastructure. This service runs automatically on Elastic Cloud for Elastic managed connectors. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Api key auth - Basic auth - Bearer auth ## Parameters ### Path parameters - **connector_sync_job_id** (string) The unique identifier for the connector sync job. ### Body: application/json (object) - **error** (string) The error for the connector sync job error field. ## Responses ### 200 #### Body: application/json (object) object [Powered by Bump.sh](https://bump.sh)