ternandsparrow / wild-orchid-watch-pwa

Progressive Web App for the Wild Orchid Watch citizen science project
https://app.wildorchidwatch.org
4 stars 4 forks source link

Error during success callback for photos #45

Closed tomsaleeba closed 2 years ago

tomsaleeba commented 3 years ago

Env: OS: Windows 10, Android Browser: Chrome 75-85, Samsung Internet 12.1 Version: bdef7ac.20200826-152421 From at least 10 different users

We're seeing the following error:

Failed during success callback for a queue item. Ignoring further queue items for obsId=undefined/UUID=1dc60530-0081-11eb-8511-d39ea90ed83f, but continuing with queue processing.
Caused by: Failed to read ID from successful photo upload and add it to the owning observation
Caused by: SW could not find a pending obs with UUID=1dc60530-0081-11eb-8511-d39ea90ed83f to add a photo to

The error comes from sw.js:148.

I'm not sure why we can't find a matching record.

tomsaleeba commented 2 years ago

No longer relevant after all the code has changed in v1.1