Quality Assurance Issue Tracker project one test times out

Hello. When I submit the project one particular test times out all the time (shown below and in the screenshot). And sometimes, just all tests timeout. There are no errors in the console. Please help me with what I am missing or any clues in this case. Thanks.

// running tests
You can send a GET request to /api/issues/{projectname} and filter the request by also passing along any field and value as a URL query (ie. /api/issues/{project}?open=false). You can pass one or more field/value pairs at once. (Test timed out)
// tests completed

My project’s link on replit: boilerplate-project-issuetracker - Replit

I am still not able to overcome this one problem. I did find one issue and I corrected it (my response object had the “project name” as one of the fields, and I removed it), but there is no change in the outcome.

I also referred the Test Hints from: freeCodeCamp/issue-tracker.md at main · freeCodeCamp/freeCodeCamp · GitHub

The GET request’s console log from my code for the query filter and the output I see after I submit my Solution Link:

### FILTER ###: { project: 'get_issues_test_651519' }
### DATA ###: [
  {
    _id: new ObjectId("62dfcaf06b559c7b1c21028b"),
    issue_title: 'Faux Issue 1',
    issue_text: 'Get Issues Test',
    created_by: 'fCC',
    assigned_to: '',
    status_text: '',
    created_on: 2022-07-26T11:07:28.281Z,
    updated_on: 2022-07-26T11:07:28.281Z,
    open: true
  },
  {
    _id: new ObjectId("62dfcaf16b559c7b1c21028c"),
    issue_title: 'Faux Issue 2',
    issue_text: 'Get Issues Test',
    created_by: 'fCC',
    assigned_to: '',
    status_text: '',
    created_on: 2022-07-26T11:07:29.205Z,
    updated_on: 2022-07-26T11:07:29.205Z,
    open: true
  },
  {
    _id: new ObjectId("62dfcaf26b559c7b1c21028d"),
    issue_title: 'Faux Issue 3',
    issue_text: 'Get Issues Test',
    created_by: 'fCC',
    assigned_to: '',
    status_text: '',
    created_on: 2022-07-26T11:07:30.111Z,
    updated_on: 2022-07-26T11:07:30.111Z,
    open: true
  }
]
### FILTER ###: { project: 'get_issues_test_655203', created_by: 'Alice' }
### DATA ###: [
  {
    _id: new ObjectId("62dfcaf36b559c7b1c21028e"),
    issue_title: 'To be Filtered',
    issue_text: 'Filter Issues Test',
    created_by: 'Alice',
    assigned_to: 'Bob',
    status_text: '',
    created_on: 2022-07-26T11:07:31.957Z,
    updated_on: 2022-07-26T11:07:31.957Z,
    open: true
  },
  {
    _id: new ObjectId("62dfcaf46b559c7b1c21028f"),
    issue_title: 'To be Filtered',
    issue_text: 'Filter Issues Test',
    created_by: 'Alice',
    assigned_to: 'Bob',
    status_text: '',
    created_on: 2022-07-26T11:07:32.841Z,
    updated_on: 2022-07-26T11:07:32.841Z,
    open: true
  },
  {
    _id: new ObjectId("62dfcaf56b559c7b1c210290"),
    issue_title: 'To be Filtered',
    issue_text: 'Filter Issues Test',
    created_by: 'Alice',
    assigned_to: 'Eric',
    status_text: '',
    created_on: 2022-07-26T11:07:33.760Z,
    updated_on: 2022-07-26T11:07:33.760Z,
    open: true
  }
]
### FILTER ###: {
  project: 'get_issues_test_655203',
  created_by: 'Alice',
  assigned_to: 'Bob'
}
### DATA ###: [
  {
    _id: new ObjectId("62dfcaf36b559c7b1c21028e"),
    issue_title: 'To be Filtered',
    issue_text: 'Filter Issues Test',
    created_by: 'Alice',
    assigned_to: 'Bob',
    status_text: '',
    created_on: 2022-07-26T11:07:31.957Z,
    updated_on: 2022-07-26T11:07:31.957Z,
    open: true
  },
  {
    _id: new ObjectId("62dfcaf46b559c7b1c21028f"),
    issue_title: 'To be Filtered',
    issue_text: 'Filter Issues Test',
    created_by: 'Alice',
    assigned_to: 'Bob',
    status_text: '',
    created_on: 2022-07-26T11:07:32.841Z,
    updated_on: 2022-07-26T11:07:32.841Z,
    open: true
  }
]
### FILTER ###: {
  project: 'fcc-project',
  _id: new ObjectId("62dfcaf86b559c7b1c210292")
}
### DATA ###: [
  {
    _id: new ObjectId("62dfcaf86b559c7b1c210292"),
    issue_title: 'Issue to be Updated',
    issue_text: 'New Issue Text',
    created_by: 'fCC',
    assigned_to: '',
    status_text: '',
    created_on: 2022-07-26T11:07:36.993Z,
    updated_on: 2022-07-26T11:07:38.708Z,
    open: true
  }
]
1 Like

Thanks for that. But, how do I get it to pass the project is still an issue for me. May be something with my connection to the net.

No. But, will that help in this case?

No errors in the console, sure. But, will check once again.

I see this one message in the console:

DevTools failed to load source map: Could not load content for chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/browser-polyfill.js.map: System error: net::ERR_FILE_NOT_FOUND

I also tried on another browser, the Firefox. I dont see that message in the console. But, I cant pass that one test. I have to try on faster connection or maybe some other trick.

For some it does, it also sometimes helps to switch the DB location to an EU or US location. You can also try using Glitch or CodeSandbox for it.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.