dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #12190
Re: Failed to save data on Tracker Capture
Hi Karina,
Click on the POST request and see what payload was sent to the server. The
server is complaining for missing organisation unit.
--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org
On Fri, Jan 13, 2017 at 9:52 AM, Karina Dian Lestari <karinadnlstr@xxxxxxxxx
> wrote:
> Hi Abyot,
>
> It looked like when I first opened Tracker Capture menu. I see this red
> response: GET http://localhost:8080/dhis/api/userDataStore/gridColumns/tra
> ckerCaptureGridColumns 404 (). I clicked the link and it gave me this: {"httpStatus":"Not
> Found","httpStatusCode":404,"status":"ERROR","message":"The key
> 'trackerCaptureGridColumns' was not found in the namespace 'gridColumns'."}
>
> [image: Inline images 1]
>
>
> After I clicked 'save and continue', I get this red response: POST
> http://localhost:8080/dhis/api/enrollments 409 () and it lead me to this
> {"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"At
> least one organisation unit must be specified"}
>
> [image: Inline images 2]
>
>
> By attribute, do you mean tracked entity attribute? I only have 9 and all
> of them are different
> [image: Inline images 3]
>
>
>
> Thanks for your help.
>
>
>
> --
> Karin.
>
> On 13 January 2017 at 15:09, Abyot Asalefew Gizaw <abyot@xxxxxxxxx> wrote:
>
>> Hi,
>>
>> The log says saving enrollment has failed - see the 409 response from the
>> POST request.
>>
>> Can you do it one more time with the network tab of your browser open?
>> Copy whatever the server has returned for the failed response (the one in
>> red) and send us. We will try fix. Most probably you have some attribute
>> configurations that did go well. Do you have any attribute configured
>> unique?
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Fri, Jan 13, 2017 at 5:07 AM, Karina Dian Lestari <
>> karinadnlstr@xxxxxxxxx> wrote:
>>
>>> Hi all,
>>>
>>> I am developing tracker capture to store individual data. I made 6
>>> stages of the program, but couldn't even get pass though stage 1 because
>>> everytime I click 'save and continue' it omit a message like this.
>>>
>>> [image: Inline images 1]
>>>
>>> This is on version 2.25 build revision 725d1c3.
>>> Am I missing any step to use tracker capture?
>>>
>>> Kindly see attached file to see catalina and localhost log.
>>>
>>> Thank you.
>>>
>>> --
>>> Karin.
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>
Follow ups
References