Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Build failing while running gitflow #35

Unanswered
mritunjayy-tiwari asked this question in Q&A
Discussion options

Run joshcai/leetcode-sync@v1.5
[2023年3月19日 04:5[8](https://github.com/mj4code/Leetcode-Solutions/actions/runs/4458999155/jobs/7831199472#step:2:9):18 GMT] Getting submission from LeetCode, offset 0
[Sun, 1[9](https://github.com/mj4code/Leetcode-Solutions/actions/runs/4458999155/jobs/7831199472#step:2:10) Mar 2023 04:58:18 GMT] TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Cookie"]
 at ClientRequest.setHeader (node:_http_outgoing:579:3)
 at new ClientRequest (node:_http_client:262:14)
 at Object.request (node:https:353:[10](https://github.com/mj4code/Leetcode-Solutions/actions/runs/4458999155/jobs/7831199472#step:2:11))
 at RedirectableRequest._performRequest (/home/runner/work/_actions/joshcai/leetcode-sync/v1.5/node_modules/follow-redirects/index.js:284:24)
 at new RedirectableRequest (/home/runner/work/_actions/joshcai/leetcode-sync/v1.5/node_modules/follow-redirects/index.js:66:8)
 at Object.request (/home/runner/work/_actions/joshcai/leetcode-sync/v1.5/node_modules/follow-redirects/index.js:523:[14](https://github.com/mj4code/Leetcode-Solutions/actions/runs/4458999155/jobs/7831199472#step:2:15))
 at dispatchHttpRequest (/home/runner/work/_actions/joshcai/leetcode-sync/v1.5/node_modules/axios/lib/adapters/http.js:[20](https://github.com/mj4code/Leetcode-Solutions/actions/runs/4458999155/jobs/7831199472#step:2:21)2:25)
 at new Promise (<anonymous>)
 at httpAdapter (/home/runner/work/_actions/joshcai/leetcode-sync/v1.5/node_modules/axios/lib/adapters/http.js:46:10)
 at dispatchRequest (/home/runner/work/_actions/joshcai/leetcode-sync/v1.5/node_modules/axios/lib/core/dispatchRequest.js:53:10)
Error: TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Cookie"]

I am facing the above issue while running the above github action. Can someone help ?

You must be logged in to vote

Replies: 1 comment

Comment options

Are you positive about your leetcodeSession, leetcodeSession values correctness? Can you review it once and try again?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /