bcgov / invasivesbc

Inventory and database repository for the creation, treatment, and report on BC Invasive plants and animals.
Apache License 2.0
13 stars 4 forks source link

Mobile: Sync error on completed activities #3533

Closed brennanwebster closed 2 weeks ago

brennanwebster commented 1 month ago

Form was completely filled out without errors and saved to draft. After hitting run sync the status is Error, unclear why.

From #3506 Saved a local activity to draft without errors, went online and clicked sync, status changed to "Error". The activity didn't make it into the database at all, not sure what happened

plasticviking commented 2 weeks ago

Added some checks, added an error detail pane to give more context on a failure, and blocked submitting when you don't have a valid token. I think I've handled most cases where this could occur.