dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #45529
[Bug 1594093] [NEW] DataValues not store in Dataset from Android
Public bug reported:
I am sending Json data from Android Code like this
{"orgUnit":"ZJhVlB8fBYe",
"dataSet":"kAVHswRyXNL",
"completeDate":"2016-06-19",
"period":"20160619",
"dataValues":
[
{"dataElement":"JrAwjhUoCQ5","value":10}
]
}
Then its Return Response Like this
{"status":"ERROR",
"description":"The import process failed: Unrecognized token 'zshah': was expecting ('true', 'false' or 'null')\n at [Source: org.apache.catalina.connector.CoyoteInputStream@4380bda5; line: 1, column: 7]",
"dataValueCount":
{"imported":0,"updated":0,"ignored":0,"deleted":0},
"importCount":
{"imported":0,"updated":0,"ignored":0,"deleted":0}
}
Note that the token which specify in Error is my Username('zshah').
Please Help me to slove this problem.
** Affects: dhis2
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1594093
Title:
DataValues not store in Dataset from Android
Status in DHIS:
New
Bug description:
I am sending Json data from Android Code like this
{"orgUnit":"ZJhVlB8fBYe",
"dataSet":"kAVHswRyXNL",
"completeDate":"2016-06-19",
"period":"20160619",
"dataValues":
[
{"dataElement":"JrAwjhUoCQ5","value":10}
]
}
Then its Return Response Like this
{"status":"ERROR",
"description":"The import process failed: Unrecognized token 'zshah': was expecting ('true', 'false' or 'null')\n at [Source: org.apache.catalina.connector.CoyoteInputStream@4380bda5; line: 1, column: 7]",
"dataValueCount":
{"imported":0,"updated":0,"ignored":0,"deleted":0},
"importCount":
{"imported":0,"updated":0,"ignored":0,"deleted":0}
}
Note that the token which specify in Error is my Username('zshah').
Please Help me to slove this problem.
To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1594093/+subscriptions
Follow ups