Mobile: actions failed to sync

The Briefing tab says actions failed, or a row in the sync queue reads "Failed after 5 attempts". Here's how to read the error and clear it.

What you see

On the Briefing tab, a red banner:

2 actions failed — tap to review

In Menu → This phone → Sync queue, the row reads Failed after 5 attempts followed by an error, or:

Sync was interrupted. Check the server result before retrying.

Why it happens

The app retries each queued action every time it syncs. After 5 failed attempts it stops and waits for you. The error after "Failed after 5 attempts" tells you why:

Error starts with Cause
briefing_action_401 or execute_401 Your sign-in on the phone has expired.
briefing_action_403 with forbidden_by_role Your role can't approve this kind of item ("Your role can't approve … actions.").
briefing_action_403 with not_a_member You're no longer an active member of this winery.
execute_422 The action the specialist proposed couldn't run as written.
A database message on a Chemistry reading The server rejected the reading.
"Sync was interrupted…" The app was closed while sending, more than 10 minutes ago, so the result is unknown.

How to fix it

  1. Tap the red banner to open the sync queue.
  2. Match the error to the table above:
    • 401: go to Menu → Sign out, sign back in, then tap Retry all.
    • 403 forbidden_by_role: ask someone whose role can approve it to do so on the web dashboard. Then tap the X on the row to remove it.
    • 403 not_a_member: ask your winery's owner or admin to check your membership on the Team page.
    • "Sync was interrupted": check the web dashboard for the reading or decision. If it's there, tap X to remove the row. If it isn't, tap Retry. Retrying is safe: if the server already has it, the app counts it as delivered.
    • Anything else: tap Retry once. If it fails again, remove the row and enter the reading or decision again, then email us the error text.
  3. Check that the banner has cleared and the queue says "Nothing to sync. Every action has been delivered."

Remove errored and the row X delete actions permanently. They won't sync later, so only remove an action once you've redone it or confirmed it's on the server.

"Retry failed"

If tapping Retry all shows an alert titled "Retry failed", tap Retry all again. If it keeps happening, email us.

Still stuck?

Email us with your winery name, the page you were on, and the exact message you see. A screenshot helps.

hello@barrellogic.com