[👾 Error Handling] throw new Error(`WHERE parameter "${key}" has invalid "undefined" value`);
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
Research direction
Start by reproducing the foreign-key flow that writes to the bookmark table and trace the client-to-server data for user_id. Check where the undefined value is introduced and compare the sent value with the bookmark column type. Done means the request no longer reaches the invalid undefined WHERE parameter error.
Written by the indexing model from the issue text.
Description
어떤 에러인가요?
- foreignkey로 테이블 연결 후 뜨는 에러
에러 메시지
throw new Error(`WHERE parameter "${key}" has invalid "undefined" value`);
^
Error: WHERE parameter "user_id" has invalid "undefined" value
에러 핸들링 방법
클라이언트에서 서버로 데이터를 보내고, 받는 과정에서 bookmark 테이블의 칼럼들의 속성은 숫자인데 보내는 데이터의 속성이 다른값일 때 뜨는 오류여서 클라이언트에서 숫자로 바꿔줬다.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from codestates/ThereWeather
-
error
Difficulty 1/5 Under an hour Newbie friendliness 72/100
codestates/ThereWeather#58 ·
-
devlog
Difficulty 4/5 3-5 days Newbie friendliness 20/100
codestates/ThereWeather#197 ·
-
error
Difficulty 4/5 3-5 days Newbie friendliness 25/100
codestates/ThereWeather#196 ·
-
devlog
Difficulty 5/5 Over a week Newbie friendliness 10/100
codestates/ThereWeather#195 ·
-
[👾 Error Handling] EagerLoadingError [SequelizeEagerLoadingError]: post is not associated to user!Openerror
Difficulty 3/5 1-2 days Newbie friendliness 15/100
codestates/ThereWeather#188 ·
All issues in codestates/ThereWeather
Similar issues
-
area:docs bug triage:confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Cotal-AI/Cotal#2875 · 1 comment ·
Maintainers usually reply within 1 day
-
[Feature]:Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Uuriko/project-room#1554 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 4 days
-
automated issue report
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
lirantal/discoprint#36 ·
Maintainers usually reply within 1 day