CivicDataLab / CivicDataLab/ParakhAI-frontend

[Bug] civicdataspace.innull — null env var concatenated to API base URL on Evaluators page

Open
#348 0 comments 0 reactions 1 assignee View on GitHub

@UdayRajSahai2 is already working on this.

Since Jun 22, 2026.

bug frontend
Dominant language
TypeScript
Stars
0
Forks
2
Avg merge
9h 18m
Merged PRs (30d)
4

Description

Summary

The Evaluators page (/dashboard/ai-maker/{id}/auditors) fires 6 network requests to https://dev.api.civicdataspace.innull/ — a malformed URL where a null value is concatenated directly to the API base URL string. All 6 requests fail with ERR_NAME_NOT_RESOLVED, causing the evaluators list to never load.

Impact

  • Evaluators page is completely broken — the list never loads
  • Root cause: a variable holding part of the API URL is null (likely an unset env var or missing config) and is concatenated without a null guard

Fix

  1. Find the URL construction for the evaluators API call — add a null guard before concatenation
  2. Ensure all required env vars are validated on app startup
  3. Add a fallback error state on the Evaluators page when the API call fails

Report ref: INFRA-004 · Severity: HIGH

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.