Form uploader not working

Hello,

I received a 'failed' message from the form uploader (which I downloaded
from here
https://opendatakit.org/downloads/download-info/odk-formuploader/).

The message details are:
UPLOAD FAILED: Form definition upload failed. Detailed error: Conflict
(409) while accessing: https://(My Aggregate Server
).appspot.com/formUpload
Please verify that the URL, your user credentials and your permissions are
all correct.

I was logged in as admin to my aggregate server and had the correct URL.
Can you help?

Do I need to download the uploader for each separate time I want to upload
a form? I was successful with my first form yesterday but then got the
error.

Thanks!

This would indicate that the server has a form definition that is different
from the form definition in your "ODK Briefcase Storage" location. I.e., if
you deleted then added a new form definition on the server, you may have an
older form definition on your PC from a previous use of ODK Briefcase, and
when you then attempt to pull from your server, ODK Briefcase tries to
reconcile the two form definitions, detects that they are incompatible, and
gives a 409 error.

If you change your ODK Briefcase Storage location (or delete the content),
this error should go away.

··· On Tue, Feb 23, 2016 at 8:45 AM, wrote:

Hello,

I received a 'failed' message from the form uploader (which I downloaded
from here
https://opendatakit.org/downloads/download-info/odk-formuploader/).

The message details are:
UPLOAD FAILED: Form definition upload failed. Detailed error: Conflict
(409) while accessing: https://(My Aggregate Server).
appspot.com/formUpload
Please verify that the URL, your user credentials and your permissions are
all correct.

I was logged in as admin to my aggregate server and had the correct URL.
Can you help?

Do I need to download the uploader for each separate time I want to upload
a form? I was successful with my first form yesterday but then got the
error.

Thanks!

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi Mitch,

I don't quite understand. I'm not using the ODK Briefcase (or I never set
one up/don't think I'm using one). I have an ODK Aggregate Server and I'm
saving files on my computer. Do you mean I need to delete the prior
versions of the survey (draft versions) from the Aggregate Server first? Or
delete the other .xml files from my computer? Or both?

I tried to move the earlier .xml files to another folder but that didn't
seem to work.

Thanks for your help!

··· On Wed, Feb 24, 2016 at 5:46 PM, Mitch Sundt wrote:

This would indicate that the server has a form definition that is
different from the form definition in your "ODK Briefcase Storage"
location. I.e., if you deleted then added a new form definition on the
server, you may have an older form definition on your PC from a previous
use of ODK Briefcase, and when you then attempt to pull from your server,
ODK Briefcase tries to reconcile the two form definitions, detects that
they are incompatible, and gives a 409 error.

If you change your ODK Briefcase Storage location (or delete the content),
this error should go away.

On Tue, Feb 23, 2016 at 8:45 AM, jcasabia@gmail.com wrote:

Hello,

I received a 'failed' message from the form uploader (which I downloaded
from here
https://opendatakit.org/downloads/download-info/odk-formuploader/).

The message details are:
UPLOAD FAILED: Form definition upload failed. Detailed error: Conflict
(409) while accessing: https://(My Aggregate Server).
appspot.com/formUpload
Please verify that the URL, your user credentials and your permissions
are all correct.

I was logged in as admin to my aggregate server and had the correct URL.
Can you help?

Do I need to download the uploader for each separate time I want to
upload a form? I was successful with my first form yesterday but then got
the error.

Thanks!

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/qadWhLnMRkg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

The difficulty is that you have a form definition with the same form id on
the server. You cannot just overwrite that definition. You either need to:

(1) delete it (and all of its the collected data) before you upload your
updated form definition.

Deleting takes time proportional to the size of the existing collected
data. While the form will no longer show on the UI, it will still be
present and prevent uploading of a new form definition with the same
form_id until all collected data from this earlier form has been
successfully deleted.

or

(2) begin using a version field on your Excel file's settings sheet to
identify the form definition you generate and are uploading as newer than
the one on the server. https://opendatakit.org/help/form-design/guidelines/

When doing this, you cannot change the data type, add, or re-order the data
fields of the original form. This version mechanism is intended for fixing
typos, updating instructional audio/images/videos, and adding alternative
language translations to a form.

or

(3) change the newer form's form_id to be some other name.

··· On Thu, Feb 25, 2016 at 2:53 PM, JC wrote:

Hi Mitch,

I don't quite understand. I'm not using the ODK Briefcase (or I never set
one up/don't think I'm using one). I have an ODK Aggregate Server and I'm
saving files on my computer. Do you mean I need to delete the prior
versions of the survey (draft versions) from the Aggregate Server first? Or
delete the other .xml files from my computer? Or both?

I tried to move the earlier .xml files to another folder but that didn't
seem to work.

Thanks for your help!

On Wed, Feb 24, 2016 at 5:46 PM, Mitch Sundt mitchellsundt@gmail.com wrote:

This would indicate that the server has a form definition that is
different from the form definition in your "ODK Briefcase Storage"
location. I.e., if you deleted then added a new form definition on the
server, you may have an older form definition on your PC from a previous
use of ODK Briefcase, and when you then attempt to pull from your server,
ODK Briefcase tries to reconcile the two form definitions, detects that
they are incompatible, and gives a 409 error.

If you change your ODK Briefcase Storage location (or delete the
content), this error should go away.

On Tue, Feb 23, 2016 at 8:45 AM, jcasabia@gmail.com wrote:

Hello,

I received a 'failed' message from the form uploader (which I downloaded
from here
https://opendatakit.org/downloads/download-info/odk-formuploader/).

The message details are:
UPLOAD FAILED: Form definition upload failed. Detailed error: Conflict
(409) while accessing: https://(My Aggregate Server).
appspot.com/formUpload
Please verify that the URL, your user credentials and your permissions
are all correct.

I was logged in as admin to my aggregate server and had the correct URL.
Can you help?

Do I need to download the uploader for each separate time I want to
upload a form? I was successful with my first form yesterday but then got
the error.

Thanks!

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/qadWhLnMRkg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

(ODK Form Uploader and ODK Briefcase are the same underlying application).

The Form Uploader is just presenting a simplified user interface.

You would get the same error if you were using ODK Briefcase; hence my
confusion.

··· On Fri, Feb 26, 2016 at 11:28 AM, Mitch Sundt wrote:

The difficulty is that you have a form definition with the same form id on
the server. You cannot just overwrite that definition. You either need to:

(1) delete it (and all of its the collected data) before you upload your
updated form definition.

Deleting takes time proportional to the size of the existing collected
data. While the form will no longer show on the UI, it will still be
present and prevent uploading of a new form definition with the same
form_id until all collected data from this earlier form has been
successfully deleted.

or

(2) begin using a version field on your Excel file's settings sheet to
identify the form definition you generate and are uploading as newer than
the one on the server.
https://opendatakit.org/help/form-design/guidelines/

When doing this, you cannot change the data type, add, or re-order the
data fields of the original form. This version mechanism is intended for
fixing typos, updating instructional audio/images/videos, and adding
alternative language translations to a form.

or

(3) change the newer form's form_id to be some other name.

On Thu, Feb 25, 2016 at 2:53 PM, JC jcasabia@gmail.com wrote:

Hi Mitch,

I don't quite understand. I'm not using the ODK Briefcase (or I never set
one up/don't think I'm using one). I have an ODK Aggregate Server and I'm
saving files on my computer. Do you mean I need to delete the prior
versions of the survey (draft versions) from the Aggregate Server first? Or
delete the other .xml files from my computer? Or both?

I tried to move the earlier .xml files to another folder but that didn't
seem to work.

Thanks for your help!

On Wed, Feb 24, 2016 at 5:46 PM, Mitch Sundt mitchellsundt@gmail.com wrote:

This would indicate that the server has a form definition that is
different from the form definition in your "ODK Briefcase Storage"
location. I.e., if you deleted then added a new form definition on the
server, you may have an older form definition on your PC from a previous
use of ODK Briefcase, and when you then attempt to pull from your server,
ODK Briefcase tries to reconcile the two form definitions, detects that
they are incompatible, and gives a 409 error.

If you change your ODK Briefcase Storage location (or delete the
content), this error should go away.

On Tue, Feb 23, 2016 at 8:45 AM, jcasabia@gmail.com wrote:

Hello,

I received a 'failed' message from the form uploader (which I
downloaded from here
https://opendatakit.org/downloads/download-info/odk-formuploader/).

The message details are:
UPLOAD FAILED: Form definition upload failed. Detailed error: Conflict
(409) while accessing: https://(My Aggregate Server).
appspot.com/formUpload
Please verify that the URL, your user credentials and your permissions
are all correct.

I was logged in as admin to my aggregate server and had the correct
URL. Can you help?

Do I need to download the uploader for each separate time I want to
upload a form? I was successful with my first form yesterday but then got
the error.

Thanks!

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/qadWhLnMRkg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Thanks Mitch

Your 3rd step is working for me.