Tracker Capture Error: Key not found in the namespace tracker-capture

Hi All,

I have this error for a tracker program.

{“httpStatus”:“Not Found”,“httpStatusCode”:404,“status”:“ERROR”,“message”:“The key ‘keyTrackerDashboardDefaultLayout’ was not found in the namespace ‘tracker-capture’.”}

Does anyone know how to address the error? Our servers are cloud hosted and I dont have access to restart or even go to the DB.

Thanks.

1 Like

Solved the issue by deleting a line of code that was highlighted in the network console. This was the line of code that brought the problem

  try {
    hasApply = !!logFn.apply;
  } catch (e) {}

  if (hasApply) {
    return function() {
      var args = [];
      forEach(arguments, function(arg) {
        args.push(formatError(arg));
      });
      return logFn.apply(console, args);
    };
  }

I deleted the code that had an x with it and the program works

1 Like

Hello Team,

We are getting this error in our tracker, the stages can not open, they load forever

{“httpStatus”:“Not Found”,“httpStatusCode”:404,“status”:“ERROR”,“message”:“Key ‘keyTrackerDashboardDefaultLayout’ not found in namespace ‘tracker-capture’”,“errorCode”:“E1005”}

On DHIS2 Version 2.40.3
Build revision f8428dd Build date February 19, 2024 at 20:11

Any support?

Hi @muhireandrew2020

Are you able to use the same program, metadata, and data in the Capture app but not the Tracker Capture app?

Did you try to open this using your browser’s Guest mode ( Browse Chrome as a guest - Computer - Google Chrome Help)?