anitab-org / anitab-org/mentorship-backend

Bug: POST Task Comment API doesn't works for some tasks

オープン
#661 コメント 16 件 リアクション 0 件 担当者 0 名 GitHub で見る
Category: Coding Status: Available Type: Bug
主要言語
Python
スター
200
フォーク
449
PR マージ指標
30日以内にマージされた PR はありません

説明

**Describe the bug**

The API to POST a task comment returns Internal Server Error (500) for some tasks and works as it should for some other.

Old Theory (most probably wrong):
This seems to be an issue with the hosting of the API on the server rather than the API itself. It has been observed that the API works perfectly when tested on a local server, and is only giving Internal Server Error on our server https://mentorship-backend-temp.herokuapp.com .

**To Reproduce**

Steps to reproduce the behavior:

1. Go to https://mentorship-backend-temp.herokuapp.com
2. Click on POST a new task comment under Mentorship Relations API
3. Click on Try it Out.
4. Enter valid token and ids.
5. Execute and see the error (on server). Also, the error isn't there when tested on local server.

**Expected behavior**
The API should work and post a new task comment. For a genuine error, the proper error message should be returned.

**Screenshots**
image

**Desktop (please complete the following information):**
- OS: [macOS]
- Browser [Safari]
- Version [13.1.1]

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。