Update the connector error field Technical preview
Set the error field for the connector. If the error provided in the request body is non-null, the connector’s status is updated to error. Otherwise, if the error is reset to null, the connector status is updated to connected.
Path parameters
-
The unique identifier of the connector to be updated
PUT
/_connector/{connector_id}/_error
curl \
--request PUT http://api.example.com/_connector/{connector_id}/_error \
--header "Content-Type: application/json" \
--data '"{\n \"error\": \"Houston, we have a problem!\"\n}"'
Request example
{
"error": "Houston, we have a problem!"
}
Response examples (200)
{
"result": "updated"
}