API getting duplicated requests 2 days later

  • Issue: PUT requests are processing correctly on the first submissions, but are then showing up multiple times 1-2 days later in the API log

  • Steps: unable to reproduce. Does not happen every time or to the same user

  • Details: user will submit dispatch and arrival times via mobile app. PUT request is logged on success in the app and the API logs the request. The initial request will have a log entry in both locations, but the subsequent duplicate requests only show up in the API log.

  • Screenshots:

API Logs

App log

After getting these screenshots, I realize there is no log entry for the initial dispatch request.

I have offline mode disabled, but this really seems like its going into offline mode, retrying the request, and even though its successful, it keeps retrying.

Why is the app not respecting offline mode being disabled?

After poking around a bit, I enabled Offline Mode in my app, and then went to the related query and found that it had an Offline handler set to "Write". I suspect that might be related. I will deselect the offline handler and then disable Offline mode again and see if the problem still occurs.

Maybe this is related? - Offline changes keep applying - #6 by Tess

Hi @Peter_Kunz,

Thanks for the detailed report and screenshot! :thinking: I'm not sure if this is the same issue. We just fixed the bug in the linked thread though, so I'm curious if you still see this issue on the latest version of the app (3.194)

You can confirm version # in the app by going to Settings->About