Error when i get a cookie (req.cookies returns [Object: null prototype] {})

Open
#122 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Domain
api, backend

Research direction

The issue identifies req.cookies and includes screenshots but no reproduction steps, file, or test. Start by reproducing the reported behavior and locating the cookie-parser middleware entry point; done means confirming whether the null-prototype object is incorrect and establishing the expected behavior or a reproducible fix path.

Written by the indexing model from the issue text.

Description

bug

image

image

Dominant language
JavaScript
Stars
2k
Forks
237
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from expressjs/cookie-parser

All issues in expressjs/cookie-parser

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.