New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ODK Briefcase internal server error downloading encrypted KC submission with multiple photos #483

Open
MartijnR opened this Issue Oct 1, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@MartijnR
Member

MartijnR commented Oct 1, 2018

Not 100% sure if this a Briefcase or KoBoCAT or Enketo issue. I'm trying to download 1 encrypted submission (with 2 photos) in ODK Briefcase 1.12.1 and see this error in briefcase.log:

Caused by: org.opendatakit.briefcase.util.ServerFetcher$SubmissionDownloadException: Fetch of a submission failed.  Detailed error: INTERNAL SERVER ERROR (500) while accessing: https://kc.kobotoolbox.org/martijnr/view/downloadSubmission?formId=a5Z4d9Cdw2fmMicd2w6a7U%5B%40version%3DvgvTG5mj9iUEuXVcpPpea3+and+%40uiVersion%3Dnull%5D%2Fdata%5B%40key%3Duuid%3Ac384191d-f744-4211-85b7-73db833719cd%5D
Please verify that the URL, your user credentials and your permissions are all correct.
	at org.opendatakit.briefcase.util.ServerFetcher.downloadSubmission(ServerFetcher.java:457)
	at org.opendatakit.briefcase.util.ServerFetcher.access$300(ServerFetcher.java:61)
	at org.opendatakit.briefcase.util.ServerFetcher$SubmissionDownload.call(ServerFetcher.java:406)
	at org.opendatakit.briefcase.util.ServerFetcher$SubmissionDownload.call(ServerFetcher.java:388)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	... 3 common frames omitted

It looks like a KC error.

I have no problem downloading non-encrypted submissions for other forms from the same KC account with the same credentials. I have the feeling this relates to multiple photos in one record (though not all of such records fail in another encrypted test form). The form ID is "a5Z4d9Cdw2fmMicd2w6a7U". It's in kc.kobotoolbox.org/martijnr.
I experience no such issue with the same form on ODK Aggregate.

@MartijnR MartijnR changed the title from ODK Briefcase internal server error downloading encrypted KC submission to ODK Briefcase internal server error downloading encrypted KC submission with multiple photos Oct 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment