Webforms Images Timeout

Problem: When completing a form via the new ODK Webforms, all works well and submits until you try to add a photo to the form. Then when completing the form it says session expired. When you look on ODK Central the other data has uploaded but it says attachment missing.

Any ideas to fix this?

Hi @ODK-MAC,

Thank you for reporting this issue! Could you share the form with us so we can investigate further? Please feel free to send it via DM or email.

You mentioned:

all works well and submits until you try to add a photo to the form

I wonder if this is related to an issue with the image picker, which we’re tracking here and plan to resolve soon. Testing your form will help us confirm and address the problem more effectively.

Hi. Please see a link to the form here:

Thanks

Thanks for sharing the link! Unfortunately, we couldn’t pull the XLSForm from it. Could you attach it to this post or DM it to me if it’s sensitive?

I tried replicating the issue with a similar form (image picker, date picker, text input) but didn’t have any luck. Can you let me know if this is happening every time or just once? If it’s consistent, sharing the steps to recreate it would really help me dig into this.

Thanks again for your help!

Hi Jennifer,

Please see the attached XLSForm.

Let me know if you have any issues opening it or need any further info.

Thanks for you assistance,

Tony

record_of_works (4).xlsx (17 KB)

1 Like

Thank you! Your form looks good. I tested it in both Central and ODK Web Forms but couldn't replicate the issue.

Some of the scenarios I tried are:

  • Session expiring while sending data on a slow internet connection
  • Session expiring before form submission
  • Session expiring before selecting images and submitting

We plan to enable image questions in edit mode soon.

If you notice anything I might have missed, please let me know.

1 Like