// This file is autogenerated, DO NOT EDIT
// connector/apis/set-connector-sync-job-error-api.asciidoc:63

[source, python]
----
resp = client.perform_request(
    "PUT",
    "/_connector/_sync_job/my-connector-sync-job/_error",
    headers={"Content-Type": "application/json"},
    body={
        "error": "some-error"
    },
)
print(resp)
----
