# ODK Central: Submission fails with URL-prefilled fields

**URL:** <https://forum.getodk.org/t/odk-central-submission-fails-with-url-prefilled-fields/34524>\
**Category:** Support\
**Tags:** enketo, odk-central\
**Created:** [July 30, 2021, 12:05pm UTC](https://forum.getodk.org/t/odk-central-submission-fails-with-url-prefilled-fields/34524 "2021-07-30T12:05:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vlehn](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/v/9dc877/32.png) [@vlehn](https://forum.getodk.org/u/vlehn)\
**Post date:** [July 30, 2021, 12:05pm UTC](https://forum.getodk.org/t/odk-central-submission-fails-with-url-prefilled-fields/34524/1 "2021-07-30T12:05:03Z")

</div>

Hello dear ODK community!

**1. What is the problem? Be very detailed.**

Prefilling form fields via the URL in the scheme `?d[field_name]=field_value` works fine (I think it's an Enketo feature), however, when trying to submit, the following error message pops up:

`Submission service on data server not found. (404)`

When analyzing the underlying submission request, this is the server's response:

```auto
  <OpenRosaResponse xmlns="http://openrosa.org/http/response" items="0">
    <message nature="error">You tried to update an existing submission, but we can&#39;t find that submission to update (uuid:d21fa12f-0fad-43c0-a928-cd88ca9959bd)</message>
  </OpenRosaResponse>

```

I noticed that the given UUID reflects the deprecatedID of the submission request, not the instanceID. But I'm not sure if this is the actual cause to the problem.

```auto
<meta>
<instanceID>uuid:ea6babfc-9bbd-4825-881d-13add3a338f5</instanceID>
<deprecatedID>uuid:d21fa12f-0fad-43c0-a928-cd88ca9959bd</deprecatedID>
</meta>

```

When submitting without URL-prefilled fields, there is no deprecatedID in the request:

```auto
<meta>
<instanceID>uuid:9817e77f-2e83-4558-938f-4f4ec0cfb3ea</instanceID>
</meta>

```

How can I make URL-prefills work? Is this a bug or is this not supported by ODK Central?

Note that the same form works fine with URL prefill in the former Aggregate environment.

**2. What app or server are you using and on what device and operating system? Include version numbers.**

ODK Central 1.2.1  
includes Enketo 2.7.3

**3. What you have you tried to fix the problem?**

Analyzed, see above.

**4. What steps can we take to reproduce the problem?**

See attached minimal one-field example. Works fine if simply opened and submitted. Will fail with the above error when the following gets attached to the form URL as prefill: `?d[field_name]=12345`  
[prefill\_issue.xlsx](https://forum.getodk.org/uploads/short-url/erPJ9eqD4aDU33qJwb4fjZp4Pxz.xlsx) (11.4 KB)

---

<div class="post-metadata">

**Author:** ![vlehn](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/v/9dc877/32.png) [@vlehn](https://forum.getodk.org/u/vlehn)\
**Post date:** [August 10, 2021, 9:26am UTC](https://forum.getodk.org/t/odk-central-submission-fails-with-url-prefilled-fields/34524/2 "2021-08-10T09:26:26Z")

</div>

Does someone from the ODK team have a hint for me, whether such URL-prefills should generally be supported by Central? A.k.a., this is a bug? Or is this outside of Central's feature scope?

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [September 8, 2021, 9:40pm UTC](https://forum.getodk.org/t/odk-central-submission-fails-with-url-prefilled-fields/34524/3 "2021-09-08T21:40:26Z")

</div>

@vlehn This feature should work (and should be documented). The bug is likely in Enketo. It should not be adding a `deprecatedID` to the submission. I'll have the team look into this and report back with what we find.

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [November 11, 2021, 12:01am UTC](https://forum.getodk.org/t/odk-central-submission-fails-with-url-prefilled-fields/34524/4 "2021-11-11T00:01:52Z")

</div>

This issue has been fixed in [Central v1.3.2](https://forum.getodk.org/t/odk-central-v1-3/35255/3).
