bcgov / bcgov/foi-flow

Error message showing up on Records tab while listing the documents

Open
#4,357 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
8
Forks
2
Avg merge
14h 34m
Merged PRs (30d)
46

Description

**Describe the bug in current situation**
On production, @lmullane reported that for the request FOR-2023-30469, records are not listing on the records tab and its showing an error message. When checked with the technical team , got informed that foi flow api is having trouble contacting doc reviewer api , but docreviewer api looks to be up and fine. Screenshot for the log is attached below

[Private Zenhub Image](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBaFJWIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2b5069026eddf6d5533ae20ffb5fbbfa9fe00773/image.png)

[Private Zenhub Image](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBZzlWIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--40e307ff5e30659c64c951aa956833aeaf51d845/image.png)

[Private Zenhub Image](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBaEJWIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--a92f994ef53f94f77ea733d2966a415f840c8e51/image.png)

**Link bug to the User Story**

**Impact of this bug**
Describe the impact, i.e. what the impact is, and number of users impacted.
Medium

**Chance of Occurring (high/medium/low/very low)**

**Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?**
PROD

**Steps to Reproduce**
Steps to reproduce the behavior:
1. Go to Ministry login
2. Go to records tab
3. Its showing up error message rather than showing up list of records
4. See error

**Actual/ observed behaviour/ results**

**Expected behaviour**
A clear and concise description of what you expected to happen. Use the gherking language.

**Screenshots/ Visual Reference/ Source**
If applicable, add screenshots to help explain your problem. You an use screengrab.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the problem in the production records tab for request FOR-2023-30469, then inspect the FOI Flow API communication with the Doc Reviewer API and the attached error logs. Determine why records are not listed when the services communicate, and verify that the records tab displays the expected records without an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.