← Back to team overview

dhis2-users team mailing list archive

Re: Data element not found or not accessible

 

Thank you Joseph.I have finally imported after removing the column header in my csv file.My UIDs were right as I took them from the Orgunit postgres table (for OrgUnits), the API (details popup) for User and the data element.
I still wonder if the column header should be removed for the import...
Thanks to you all. The battle continues....
Henri 
  

    Le Mercredi 27 avril 2016 15h58, Joseph K. Osborn <osbornlegrand@xxxxxxxxxx> a écrit :
 

 #yiv3951018635 #yiv3951018635 --.yiv3951018635hmmessage P{margin:0px;padding:0px;}#yiv3951018635 body.yiv3951018635hmmessage{font-size:12pt;font-family:Calibri;}#yiv3951018635 Henry,Start by checking the UIDs of these data elements by using of the Web API as Mortan proposed (... api/dataElements.xml?paging=false&fields=id,name).Be sure that all UIDs in your imported file match with those in DHIS2.Next, re-import by replacing 'ID' as header instead of 'data element' .
Date: Tue, 26 Apr 2016 14:05:25 +0000
From: henrimoungui@xxxxxxxx
To: osbornlegrand@xxxxxxxxxx; morten@xxxxxxxxx
CC: dhis2-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Dhis2-users] Data element not found or not accessible

Thank you Joseph.I got the message even with dry run at yes or no.The import summary displays import successful but did not imported.Do you suggest to let the column header blank?


 
  

    Le Mardi 26 avril 2016 12h05, Joseph K. Osborn <osbornlegrand@xxxxxxxxxx> a écrit :
 

 #yiv3951018635 #yiv3951018635 --.yiv3951018635ExternalClass #yiv3951018635ecxyiv2887160719 body.yiv3951018635ecxyiv2887160719hmmessage {font-size:12pt;font-family:Calibri;}#yiv3951018635 Hi Henry,I always had this message when I let the column headers on my CSV file. But I still important and it works.  This message did you get it when you executed in 'Dry Run= YES 'or even when is' NO'? Because I had hesitations when this message had appeared for the first time but after testing, it did not affect my base but it was a successful import. In the attached image my result.
Regards.
From: morten@xxxxxxxxx
Date: Tue, 26 Apr 2016 07:25:06 +0700
To: henrimoungui@xxxxxxxx
CC: dhis2-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Dhis2-users] Data element not found or not accessible

Just to verify, could you try out the IDs in the web-api?
/api/dataElements/ID/api/organisationUnits/ID
Please replace ID with your own ID, both of them should work for your selected IDs
-- Morten Olav HansenSenior Engineer, DHIS 2University of Oslohttp://www.dhis2.org
On Tue, Apr 26, 2016 at 2:51 AM, henri claude moungui <henrimoungui@xxxxxxxx> wrote:

Thank you Lars.I am working on my laptop with default admin user account with superuser role assigned to all Orgunit, data set and data elements.
I keep looking for a way to pass this step...Thank you.
Henri 
  

    Le Lundi 25 avril 2016 19h56, Lars Helge Øverland <lars@xxxxxxxxx> a écrit :
 

 Hi Henri,
if you have the appropriate access - make sure that the relevant data elements are accessible to you, either by setting their "public access" to read or read-write, or by adding your account to a group which is shared with the data elements.
regards,
Lars


On Mon, Apr 25, 2016 at 4:27 AM, Morten Olav Hansen <morten@xxxxxxxxx> wrote:

Hi
This means that one of your data elements UIDs did not matching anything. The reason it says "or not accessible" is that it could also have been hidden through sharing.
-- Morten Olav HansenSenior Engineer, DHIS 2University of Oslohttp://www.dhis2.org
On Sun, Apr 24, 2016 at 9:03 PM, henri claude moungui <henrimoungui@xxxxxxxx> wrote:

Hello all,I am trying to import data from a csv file through the import data app.in the import summary, I see: " Data element not found or not accessible". Data have not been imported. Could you help me understand this please?I'm using DHIS2 2.18 with a postgresql database.my columns are: dataElement , period, orgunit, categoryoptioncombo, attributeoptioncombo, value, storedby, timestamp, comment, followup.
In the import option, I indicated to use UID for data element scheme and name for OU (that is what i have in my file).
I hope these details are enough. Thank you.
Henri MOUNGUIHelen Keller International - Cameroon

| 
 |

 
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp




_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp





-- 
Lars Helge Øverland
Lead developer, DHIS 2University of OsloSkype: larshelgeoverland
http://www.dhis2.org


   


_______________________________________________Mailing list: https://launchpad.net/~dhis2-usersPost to : dhis2-users@lists.launchpad.netUnsubscribe : https://launchpad.net/~dhis2-usersMore help : https://help.launchpad.net/ListHelp 

    

  

PNG image


References