← Back to team overview

dhis2-devs team mailing list archive

TypeError: Cannot read property 'match' of undefined

 

Dear All,

My tracker entity instance list is not coming in tracker capture module for
a specific facility but rest is working fine . It shows error like;

TypeError: Cannot read property 'match' of undefined
    at services.js:1325n
    at Object.r [as forEach] (angular.js:323)
    at services.js:1302
    at angular.js:13248
    at n.$eval (angular.js:14466)
    at n.$digest (angular.js:14282)
    at n.$apply (angular.js:14571)
    at dhis2.storage.IndexedDBAdapter.<anonymous> (services.js:1259)
    at fire (jquery.js:3317)
    at Object.fireWith [as resolveWith] (jquery.js:3447)

Also,  it is showing error in " GET
https://communitydhis.mohfw.gov.bd/nationalcc/api/28/trackedEntityInstances/query.json?ou=dNLjKwsVjod&ouMode=DESCENDANTS&program=qzIEXMgPh1E&pageSize=50&page=1&totalPages=true
"

I have run it through postman. the value is not coming. It is showing 504
gateway fail but if i change DESCENDANTS to SELECTED it is working fine.

Can anyone please help me on it.

Thank you in advance.
Regards,
*Fatema Uddin*
Deputy Team Leader
Support to the National HMIS
MIS, Directorate General of Health Services
Ministry of Health and Family Welfare

T +880-2- 58816459 <+880%202-58816459>, 58816412 ext 118
F +88 02 58813 875
M+880 1772999745
E fatemacse@xxxxxxxxx
S uddin_fatema
L *https://www.linkedin.com/in/fatema-uddin-85128029/
<https://www.linkedin.com/in/fatema-uddin-85128029/>*
TypeError: Cannot read property 'match' of undefined
    at services.js:1325
    at Object.r [as forEach] (angular.js:323)
    at services.js:1302
    at angular.js:13248
    at n.$eval (angular.js:14466)
    at n.$digest (angular.js:14282)
    at n.$apply (angular.js:14571)
    at dhis2.storage.IndexedDBAdapter.<anonymous> (services.js:1259)
    at fire (jquery.js:3317)
    at Object.fireWith [as resolveWith] (jquery.js:3447)
(anonymous) @ angular.js:11655
(anonymous) @ angular.js:8596
(anonymous) @ angular.js:13256
$eval @ angular.js:14466
$digest @ angular.js:14282
$apply @ angular.js:14571
(anonymous) @ services.js:1259
fire @ jquery.js:3317
fireWith @ jquery.js:3447
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:264
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
success (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
success (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
success (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
success (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
success (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
success (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
success (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
success (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
success (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
success (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
success (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
success (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
success (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
success (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
success (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
IndexedDB (async)
request.onsuccess @ dhis2-storage-idb-e5bdf19229.js:262
angular.js:9866 GET https://communitydhis.mohfw.gov.bd/nationalcc/api/28/trackedEntityInstances/query.json?ou=dNLjKwsVjod&ouMode=DESCENDANTS&program=qzIEXMgPh1E&pageSize=50&page=1&totalPages=true