Job #144

Change → Plan → Execution

Back to Jobs View JSON
user 0 reason: credential created
done
attempt_count: 2 last_error: — next_run_at: correlation_id: 2f3c9f24e62f427799bb42db30b33d7b Filter debug_session_id: — age_seconds: 163220.815133

System Plan / Required changes

desired 1 adds/updates 0 removes 0 blocked 0

(Derived from stored last_result_json; provider grouping uses execution logs.)

Stored Drift Enforce Plan (P3)
{
  "doors": [
    {
      "actual": [
        {
          "code_name": "AB U9 C6",
          "provider_receipt_id": null,
          "source": "lock",
          "vendor_pin_id": "50957532"
        }
      ],
      "adds": [],
      "blocked_by_grace": [],
      "deletes": [],
      "door_id": 2,
      "expected": [
        {
          "code_name": "AB U9 C6",
          "credential_id": 6,
          "grant_id": 26,
          "provider_receipt_id": null,
          "user_id": 9,
          "vendor_pin_id": "50957532"
        }
      ],
      "external_device_id": "28991110",
      "integration_device_id": 1,
      "invalid_expected": [],
      "provider_type": "TTLOCK",
      "summary": {
        "adds": 0,
        "blocked": 0,
        "deletes": 0,
        "grace_bypassed_deletes": 0,
        "invalid_expected": 0
      }
    }
  ],
  "filters": {
    "door_id": null,
    "integration_device_id": 1,
    "provider_type": "TTLOCK"
  },
  "generated_at": "2026-02-05T22:20:38Z",
  "grace_window_seconds": 3600,
  "mode": "ultra_strict",
  "summary": {
    "adds": 0,
    "blocked": 0,
    "deletes": 0,
    "doors": 1,
    "grace_bypassed_deletes": 0,
    "invalid_expected": 0
  }
}

Execution Timeline

2026-02-05 16:20:30 .75 ok ACCESS_BROKER RECONCILE_ENQUEUED
Raw JSON
Request JSON
{
  "job_type": "drift_enforce_lock_truth",
  "reason": "credential created",
  "source": "credential route",
  "user_id": 0
}
Response JSON
{
  "job_id": 144
}
2026-02-05 16:20:31 .60 ok ACCESS_BROKER DRIFT_ENFORCE_JOB_START
Raw JSON
Request JSON
{
  "attempt_count": 1,
  "job_id": 144,
  "job_type": "drift_enforce_lock_truth",
  "reason": "credential created",
  "user_id": 0
}
Response JSON
null
2026-02-05 16:20:32 .35 ok TTLOCK PASSCODE_LIST
Raw JSON
Request JSON
{
  "base_host": "https://api.ttlock.com",
  "method": "GET",
  "path": "/v3/lock/listKeyboardPwd",
  "payload": {
    "accessToken": "***",
    "clientId": "6636adfbf3f9483d946082b74f20797c",
    "date": 1770330031608,
    "lockId": 28991110,
    "pageNo": 1,
    "pageSize": 200
  },
  "url": "https://api.ttlock.com/v3/lock/listKeyboardPwd"
}
Response JSON
{
  "list": [],
  "pageNo": 1,
  "pageSize": 200,
  "pages": 0,
  "total": 0
}
2026-02-05 16:20:33 .10 fail TTLOCK PASSCODE_ADD first failure
errcode=-3003 errmsg=The gateway is busy. Please try again later.
Raw JSON
Request JSON
{
  "base_host": "https://api.ttlock.com",
  "method": "POST",
  "path": "/v3/keyboardPwd/add",
  "payload": {
    "accessToken": "***",
    "addType": 2,
    "clientId": "6636adfbf3f9483d946082b74f20797c",
    "date": 1770330032369,
    "endDate": 1801866032365,
    "keyboardPwd": "***1111",
    "keyboardPwdName": "***",
    "lockId": 28991110,
    "startDate": 1770329972365
  },
  "url": "https://api.ttlock.com/v3/keyboardPwd/add"
}
Response JSON
{
  "description": "\u7f51\u5173\u6b63\u5fd9\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\u3002",
  "errcode": -3003,
  "errmsg": "The gateway is busy. Please try again later."
}
2026-02-05 16:20:33 .11 fail TTLOCK TTLOCK_PIN_CREATE
TTLock error -3003: The gateway is busy. Please try again later.
Raw JSON
Request JSON
{
  "context": {
    "attempt_count": 1,
    "dedupe_key": "{\"door_id\":null,\"external_id\":\"28991110\",\"integration_device_id\":1,\"job_type\":\"drift_enforce_lock_truth\",\"provider_type\":\"TTLOCK\"}",
    "door_id": 2,
    "enforce_filters": {
      "external_id": "28991110",
      "integration_device_id": 1,
      "provider_type": "TTLOCK"
    },
    "external_id": "28991110",
    "integration_device_id": 1,
    "job_id": 144,
    "job_type": "drift_enforce_lock_truth",
    "provider_type": "TTLOCK",
    "reason": "credential created",
    "source": "reconcile_worker",
    "trigger_reason": "credential created"
  },
  "end_ts_ms": 1801866032365,
  "lock_vendor_id": "28991110",
  "name": "AB U9 C6",
  "pin_last4": "1111",
  "start_ts_ms": 1770329972365
}
Response JSON
null
2026-02-05 16:20:33 .11 fail ACCESS_BROKER DRIFT_ENFORCE_ADD_PIN
TTLock error -3003: The gateway is busy. Please try again later.
Raw JSON
Request JSON
{
  "code_name": "AB U9 C6",
  "correlation_id": "job",
  "credential_id": 6,
  "device_external_id": "28991110",
  "door_id": 2,
  "grant_id": 26,
  "integration_device_id": 1,
  "provider_type": "TTLOCK",
  "user_id": 9
}
Response JSON
null
2026-02-05 16:20:33 .12 fail ACCESS_BROKER DRIFT_ENFORCE_JOB_FAILED
drift_enforce_failed
Raw JSON
Request JSON
{
  "attempt_count": 1,
  "job_id": 144
}
Response JSON
{
  "next_run_at": "2026-02-05T22:20:38.121625+00:00"
}
2026-02-05 16:20:38 .55 ok ACCESS_BROKER DRIFT_ENFORCE_JOB_START
Raw JSON
Request JSON
{
  "attempt_count": 2,
  "job_id": 144,
  "job_type": "drift_enforce_lock_truth",
  "reason": "credential created",
  "user_id": 0
}
Response JSON
null
2026-02-05 16:20:39 .39 ok TTLOCK PASSCODE_LIST
Raw JSON
Request JSON
{
  "base_host": "https://api.ttlock.com",
  "method": "GET",
  "path": "/v3/lock/listKeyboardPwd",
  "payload": {
    "accessToken": "***",
    "clientId": "6636adfbf3f9483d946082b74f20797c",
    "date": 1770330038569,
    "lockId": 28991110,
    "pageNo": 1,
    "pageSize": 200
  },
  "url": "https://api.ttlock.com/v3/lock/listKeyboardPwd"
}
Response JSON
{
  "list": [
    {
      "endDate": 1801866030751,
      "isCustom": 1,
      "keyboardPwd": "***1111",
      "keyboardPwdId": 50957532,
      "keyboardPwdName": "***",
      "keyboardPwdType": 3,
      "keyboardPwdVersion": 4,
      "lockId": 28991110,
      "nickName": "keith",
      "receiverUsername": "",
      "sendDate": 1770330034000,
      "senderUsername": "keith@ac5.ca",
      "startDate": 1770329971618,
      "status": 1
    }
  ],
  "pageNo": 1,
  "pageSize": 200,
  "pages": 1,
  "total": 1
}
2026-02-05 16:20:39 .40 ok ACCESS_BROKER DRIFT_ENFORCE_JOB_DONE
Raw JSON
Request JSON
{
  "attempt_count": 2,
  "job_id": 144
}
Response JSON
{
  "adds": {
    "attempted": 0,
    "failed": 0,
    "ok": 0
  },
  "analysis": {
    "adds": 0,
    "blocked": 0,
    "deletes": 0,
    "doors": 1,
    "grace_bypassed_deletes": 0,
    "invalid_expected": 0
  },
  "deletes": {
    "attempted": 0,
    "failed": 0,
    "ok": 0
  },
  "enforce_plan": {
    "doors": [
      {
        "actual": [
          {
            "code_name": "AB U9 C6",
            "provider_receipt_id": null,
            "source": "lock",
            "vendor_pin_id": "50957532"
          }
        ],
        "adds": [],
        "blocked_by_grace": [],
        "deletes": [],
        "door_id": 2,
        "expected": [
          {
            "code_name": "AB U9 C6",
            "credential_id": 6,
            "grant_id": 26,
            "provider_receipt_id": null,
            "user_id": 9,
            "vendor_pin_id": "50957532"
          }
        ],
        "external_device_id": "28991110",
        "integration_device_id": 1,
        "invalid_expected": [],
        "provider_type": "TTLOCK",
        "summary": {
          "adds": 0,
          "blocked": 0,
          "deletes": 0,
          "grace_bypassed_deletes": 0,
          "invalid_expected": 0
        }
      }
    ],
    "filters": {
      "door_id": null,
      "integration_device_id": 1,
      "provider_type": "TTLOCK"
    },
    "generated_at": "2026-02-05T22:20:38Z",
    "grace_window_seconds": 3600,
    "mode": "ultra_strict",
    "summary": {
      "adds": 0,
      "blocked": 0,
      "deletes": 0,
      "doors": 1,
      "grace_bypassed_deletes": 0,
      "invalid_expected": 0
    }
  },
  "failures": [],
  "generated_at": "2026-02-05T22:20:38Z",
  "ok": true,
  "summary": {
    "adds_attempted": 0,
    "adds_failed": 0,
    "adds_succeeded": 0,
    "deletes_attempted": 0,
    "deletes_failed": 0,
    "deletes_succeeded": 0,
    "failures": []
  },
  "target": {
    "external_id": "28991110",
    "integration_device_id": 1,
    "provider_type": "TTLOCK"
  }
}

Provider Calls grouped by Lock

Lock (unknown lock) (ACCESS_BROKER)
2026-02-05 16:20:30 .75 · RECONCILE_ENQUEUED · ok 2026-02-05 16:20:31 .60 · DRIFT_ENFORCE_JOB_START · ok 2026-02-05 16:20:33 .11 · DRIFT_ENFORCE_ADD_PIN · fail 2026-02-05 16:20:33 .12 · DRIFT_ENFORCE_JOB_FAILED · fail 2026-02-05 16:20:38 .55 · DRIFT_ENFORCE_JOB_START · ok 2026-02-05 16:20:39 .40 · DRIFT_ENFORCE_JOB_DONE · ok
Lock (unknown lock) (TTLOCK)
2026-02-05 16:20:32 .35 · PASSCODE_LIST · ok 2026-02-05 16:20:33 .10 · PASSCODE_ADD · fail 2026-02-05 16:20:33 .11 · TTLOCK_PIN_CREATE · fail 2026-02-05 16:20:39 .39 · PASSCODE_LIST · ok