# Draft Testing QR-code cause Form update failed

**URL:** <https://forum.getodk.org/t/draft-testing-qr-code-cause-form-update-failed/47540>\
**Category:** Support\
**Tags:** odk-central, odk-collect\
**Created:** [June 14, 2024, 5:51pm UTC](https://forum.getodk.org/t/draft-testing-qr-code-cause-form-update-failed/47540 "2024-06-14T17:51:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndyChiu](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/andychiu/32/25895_2.png) [@AndyChiu](https://forum.getodk.org/u/AndyChiu)\
**Post date:** [June 14, 2024, 5:51pm UTC](https://forum.getodk.org/t/draft-testing-qr-code-cause-form-update-failed/47540/1 "2024-06-14T17:51:14Z")

</div>

**1. What is the issue? Please be detailed.**  
ODK-Collect scans the QR-code generated by Forms Draft Testing, and an error occurs when trying to update Form.(enter + Start new form, use reflash icon)

 ![Screenshot_20240614-074003](https://getodk.b-cdn.net/uploads/default/original/3X/1/d/1dc00d02186b9939f23f89cf0e93e51725c37db6.png)

I tried to paste the link into a web browser, but the same error occurred on both my mobile phone and my computer.

{"message":"Could not find the resource you were looking for.","code":404.1}

 ![Snipaste_2024-06-14_08-09-48](https://getodk.b-cdn.net/uploads/default/original/3X/4/d/4d623dbf976b3ad603a3c8cbf110e244c060c5ec.png)

I tried to remove the string "test/se9qUy$CJj1522DqHm$j!eaCCemNtOfZPmO2hZPORrdPn$mRCoA2Ico366cnxs7y/" and I can see some information.

 ![Snipaste_2024-06-14_08-08-35](https://getodk.b-cdn.net/uploads/default/original/3X/f/8/f897add9e5be7154bd4a73fe6c0f3194b0ea14fa.png)

**2. What steps can we take to reproduce this issue?**  
".env", SSL\_TYPE I use customssl, DOMAIN is set up using AD, only for internal network use, I use OpenSSC to create a certificate, and have installed the certificate on my computer and mobile phone. There will be no certificate issue when opening the ODK Central.

In "enketo.dockerfile", I added "ENV NODE\_TLS\_REJECT\_UNAUTHORIZED='0'" in the second line. It is currently in the Draft Checklist and can be opened normally using Preview.

Not sure if customssl is causing the problem?

**3. What have you tried to fix the issue?**  
I tried modifying the Form and rebuilding it, but I still couldn't update the Form normally.

**4. Upload any forms or screenshots you can share publicly below.**

ODK Central  
versions:  
42d83f19b30d638aae871243bce2caa0d8c6095d (v2024.1.0-1-g42d83f1)  
3fb0c22b1cbdc3a6004963afcc3847a82c09307d client (v2024.1.0)  
b4754cf52bfa64b1ca841bc9ccb64a38726398e8 server (v2024.1.0)

ODK Collect v2024.2.0 Beta 2

---

<div class="post-metadata">

**Author:** ![Sadiq\_Khoja](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/sadiq_khoja/32/3719_2.png) [@Sadiq\_Khoja](https://forum.getodk.org/u/Sadiq_Khoja)\
**Post date:** [June 18, 2024, 2:56pm UTC](https://forum.getodk.org/t/draft-testing-qr-code-cause-form-update-failed/47540/2 "2024-06-18T14:56:40Z")

</div>

Hi Andy,

Welcome to ODK Forum, if you have a moment, feel free to introduce yourself [here](https://forum.getodk.org/t/introduce-yourself-here/6671)

I am assuming that you have configured a self-signed SSL certificate. If that's true then ODK Collect will not work with it even if you have trusted the certificate in your Android device.

You would need a CA signed certificate for Collect to work.

Thanks,

Sadiq

---

<div class="post-metadata">

**Author:** ![AndyChiu](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/andychiu/32/25895_2.png) [@AndyChiu](https://forum.getodk.org/u/AndyChiu)\
**Post date:** [June 18, 2024, 4:22pm UTC](https://forum.getodk.org/t/draft-testing-qr-code-cause-form-update-failed/47540/3 "2024-06-18T16:22:21Z")

</div>

Hi Sadiq, I have indeed set up self-signed SSL on ODK Central and also set up CA on Android, but I still have problems.

Can you please provide a tutorial on the process of "CA signed certificate for Collect"?

Later, I read this [tutorial](https://forum.getodk.org/t/odk-central-use-without-internet/47438/2) and switched to using DuckDNS to handle it, so it can be used.

But if can use the internal Domain, for me it will be a better choice, thank you!

Thank you!

---

<div class="post-metadata">

**Author:** ![Sadiq\_Khoja](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/sadiq_khoja/32/3719_2.png) [@Sadiq\_Khoja](https://forum.getodk.org/u/Sadiq_Khoja)\
**Post date:** [June 19, 2024, 6:18pm UTC](https://forum.getodk.org/t/draft-testing-qr-code-cause-form-update-failed/47540/4 "2024-06-19T18:18:08Z")

</div>

> [@AndyChiu](#):
>
> But if can use the internal Domain, for me it will be a better choice, thank you!

It can be done but it's complicated. Here are the few points that might help in achieving what you want:

- Central and Collect need SSL certificate signed by a public and trusted Certificate Authority (CA)
- Public CAs only sign certificate for public domain names (DNS)
- If you own the domain name publicly that you are using internally then you can get your certificate signed by the public CA. You would probably need to add record(s) in your public domain (DNS) controller to prove that you own the domain name. Once you have the signed certificate, you can then use it internally as well. DNS records can be removed afterwards as well. I am assuming you own nienhsing.com.mx so you should be able to get the certificate for odk.nienhsing.com.mx
- You can read [this(external)](https://community.letsencrypt.org/t/ssl-certificate-for-a-internal-only-domain-thats-not-on-the-internet/27062) thread for why public CA don't signed certificates for internal domain names.

---

<div class="post-metadata">

**Author:** ![AndyChiu](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/andychiu/32/25895_2.png) [@AndyChiu](https://forum.getodk.org/u/AndyChiu)\
**Post date:** [June 19, 2024, 10:25pm UTC](https://forum.getodk.org/t/draft-testing-qr-code-cause-form-update-failed/47540/5 "2024-06-19T22:25:22Z")

</div>

Thanks for the reply. Using internal Domain will not work. Thank you again!

---

<div class="post-metadata">

**Author:** ![aankrah](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/aankrah/32/12857_2.png) [@aankrah](https://forum.getodk.org/u/aankrah)\
**Post date:** [November 18, 2025, 4:22am UTC](https://forum.getodk.org/t/draft-testing-qr-code-cause-form-update-failed/47540/6 "2025-11-18T04:22:35Z")

</div>

Thanks for your reply @Sadiq_Khoja.

Well, I am using a LetsEncrypt issued SSL certificate yet I’m facing the same issue as @AndyChiu. Only difference is I’m running a newer version of Central

![image](https://getodk.b-cdn.net/uploads/default/original/3X/6/7/67057222a630f15624e0ef9f38e1f6570f06a998.png)

I have tried with multiple versions of Collect (`v2025.3.3` and `v2023.2.2`) but they both yield the same results.

A thing to note though, this is happening on a new form on a fresh install of Central. Could this have any bearing in the matter?

---

<div class="post-metadata">

**Author:** ![Sadiq\_Khoja](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/sadiq_khoja/32/3719_2.png) [@Sadiq\_Khoja](https://forum.getodk.org/u/Sadiq_Khoja)\
**Post date:** [November 18, 2025, 1:41pm UTC](https://forum.getodk.org/t/draft-testing-qr-code-cause-form-update-failed/47540/7 "2025-11-18T13:41:54Z")

</div>

Hi @aankrah,

Can you please share more details about your environment setup, what's the value of `SSL_TYPE` in your `.env` file?

Also share error messages on Collect and Web Forms.

---

<div class="post-metadata">

**Author:** ![aankrah](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/aankrah/32/12857_2.png) [@aankrah](https://forum.getodk.org/u/aankrah)\
**Post date:** [November 19, 2025, 5:22am UTC](https://forum.getodk.org/t/draft-testing-qr-code-cause-form-update-failed/47540/8 "2025-11-19T05:22:49Z")

</div>

Hello @Sadiq_Khoja, I have been able to solve this issue.

The `SSL_TYPE` of my instance is `letsencrypt` BTW.

I solved my issue by pulling down central, deleting the existing SSL certificate, requesting a new one using certbot and starting central back up. That seemed to have resolved my issue.
