quran / quran.com-frontend-next

Frontend build on next.js
https://quran.com
1.37k stars 399 forks source link

[bug]: 500 error when tracking progress #2109

Closed 3rg1s closed 6 months ago

3rg1s commented 6 months ago

Is there an existing issue for this?

Describe the bug

/activity-days endpoint throws 500 error when reading a verse. This also happens when trying to manually add a reading activity

Relevant log output

Payload sent: {"ranges":["1:5-1:7"],"seconds":1}

BE Response:
{
    "success": false,
    "error": {
        "code": "ServerError",
        "message": "Something went wrong"
    }
}

Steps to reproduce

  1. Visit quran.com
  2. Open Al FATIHA
  3. scroll through the ayats

Environment (please complete the following information) and Add any other context about this bug

OS: Macbook Browser: Chrome Version: Version 122.0.6261.112 (Official Build) (arm64)

Environment

Production(quran.com)

osamasayed commented 6 months ago

Jazak Allahu khairan @3rg1s for raising this issue, it's being investigated.

3rg1s commented 6 months ago

@osamasayed salam aleykum, shall we close this ticket since I see the error, is not reproducible anymore.

osamasayed commented 6 months ago

@osamasayed salam aleykum, shall we close this ticket since I see the error, is not reproducible anymore.

Yes Alhamdulelah it was resolved.