Hi all,
I am creating a web application with Angular to collect data and store it on the DHIS2 server. I used to make api calls to a server with version 36.4, now I’m trying to use another one with version 37.10 but it won’t let me log in.
Could it be that these endpoints are not available in this version?
export const endpoints = {
// Auth
authorization: 37/me/authorization
,
userSettings: 37/me/userSettings
,
userInfo: 37/me
,
systemInfo: system/info
,
// Tracked Entity
trackedEntityInstances: trackedEntityInstances
, // trackedEntityInstances/query.json?ou=C7UVYRGE2d1&ouMode=SELECTED&&order=created:desc&program=RWGqus8n2x3
trackedEntityPatient: trackedEntityInstances
, // F29grs8Eb0b.json?program=RWGqus8n2x3&fields=*
trackedEntityAttributes: “trackedEntityAttributes”,
// Put data
events: events
};
This is the error that I am getting:
I hope someone can help me, thank you very much in advance.
3 posts - 2 participants