Skip to content

Issue | Token Access | HttpError: Reference cannot be updated #75

@angryreid

Description

@angryreid

Hi All,

I'm facing issue when fetching github token, attached below logs, thanks for checking.

Error: HttpError: Reference cannot be updated

[Sun, 03 Aug 2025 03:16:33 GMT] Getting submission from LeetCode, offset 0
[Sun, 03 Aug 2025 03:16:40 GMT] Getting submission from LeetCode, offset 20
[Sun, 03 Aug 2025 03:16:43 GMT] Getting submission from LeetCode, offset 40
[Sun, 03 Aug 2025 03:16:47 GMT] Default branch for angryreid/leetcode: master
[Sun, 03 Aug 2025 03:16:47 GMT] Syncing 30 submissions...
[Sun, 03 Aug 2025 03:16:47 GMT] Committing solution for jump_game_ii...
[Sun, 03 Aug 2025 03:16:48 GMT] Committed solution for jump_game_ii
[Sun, 03 Aug 2025 03:16:48 GMT] Committing solution for longest_palindromic_substring...
[Sun, 03 Aug 2025 03:16:49 GMT] Committed solution for longest_palindromic_substring
[Sun, 03 Aug 2025 03:16:49 GMT] Committing solution for interleaving_string...
[Sun, 03 Aug 2025 03:16:50 GMT] HttpError: Reference cannot be updated
    at /home/runner/work/_actions/joshcai/leetcode-sync/v1.5/node_modules/@octokit/rest/node_modules/@octokit/request/dist-node/index.js:88:21
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async commit (/home/runner/work/_actions/joshcai/leetcode-sync/v1.5/src/action.js:95:3)
    at async Object.sync (/home/runner/work/_actions/joshcai/leetcode-sync/v1.5/src/action.js:240:34)
    at async main (/home/runner/work/_actions/joshcai/leetcode-sync/v1.5/index.js:31:3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions