Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] スコアの登録時にレスポンスが500になるときがある #132

Closed
h-takeyeah opened this issue Apr 23, 2024 · 2 comments · Fixed by #140
Closed

[BUG] スコアの登録時にレスポンスが500になるときがある #132

h-takeyeah opened this issue Apr 23, 2024 · 2 comments · Fixed by #140
Assignees
Labels
Priority: Critical 致命的 Problem: Logic ロジックに問題がある Status: On Hold 保留 Type: Bug バグ
Milestone

Comments

@h-takeyeah
Copy link
Collaborator

このリクエストを与えると

curl 'http://<サーバのアドレス>:8080/scores' \
-X 'POST' \
-H 'Content-Type: application/json' \
--data-binary '{"user_id":"8669e6f9-9667-4f03-b367-3030e2064b43","keystrokes":267,"accuracy":0.95}' \
-v

このエラーが返ってくる。HTTPステータスコードは500

ent: score not singular

でも毎回じゃない。

@h-takeyeah
Copy link
Collaborator Author

@KinjiKawaguchi KinjiKawaguchi added this to the v0.0.3 milestone Aug 7, 2024
@KinjiKawaguchi KinjiKawaguchi self-assigned this Aug 7, 2024
@KinjiKawaguchi KinjiKawaguchi added Type: Bug バグ Priority: Critical 致命的 Problem: Logic ロジックに問題がある Status: On Hold 保留 labels Aug 7, 2024
@KinjiKawaguchi
Copy link
Member

UniqueだけどUniqueじゃなくなってる
SQL頑張ろうかわきん

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Critical 致命的 Problem: Logic ロジックに問題がある Status: On Hold 保留 Type: Bug バグ
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants