A connection has expired and needs reconnecting¶
When AIR works on your behalf in another system — your accounts package, your mailbox, your calendar — it holds a key that system gave it. Those keys do not last forever. They expire on a schedule the other system sets, and they stop working immediately if someone there changes a password, revokes access, or removes the account AIR was using.
Nothing is broken and nothing has been lost. The job stopped because it was refused at the door, which is exactly what should happen. It will pick up again once the connection is renewed.
How to tell¶
The run that failed says so at the step where it stopped:
Xero authentication expired on step 4.
or, when the key works but is not allowed to do what was asked:
Xero refused the call on step 4.
On Tools, the system's card says reconnect → in amber, and its details open with Needs reconnection.
Renew the connection¶
- Open Tools from the top bar.
- Find the system named in the error. Its card says reconnect →.
- Select it, choose Reconnect, and sign in to that system as you normally would.
- Go back to the failed run and choose Resume. It carries on from the step that failed, keeping what the earlier steps did. Or choose Run again from scratch for a fresh attempt.
You can also start from the failed run: Re-auth tool checks the connection first, says Connection healthy ✓ if it has already been fixed, and otherwise takes you to sign in.
You are signing in to the other system, not to AIR. AIR never sees the password you type there — the other system hands back a fresh key and that is all AIR keeps.
One connection, shared by every colleague
A connection belongs to your whole organisation, and every colleague using that system uses the same one. Reconnecting fixes it for all of them at once — and handing the job to another colleague will not help, because they would be using the same expired key.
If the run says awaiting handoff¶
Sometimes a run hitting an expired or refused connection does not fail but pauses, with the status awaiting handoff, because another colleague is also allowed to use that system. Reconnect first, as above. Then, on the run, choose Finish this run → and pick one of the colleagues offered; they carry on from the paused step with everything the run had so far.
If reconnecting does not fix it¶
"Refused" rather than "expired". The key is valid but does not allow what the job is trying to do. This usually means the account AIR is using lost a permission, or was moved to a more restricted role. Someone who administers that system needs to restore it, then reconnect so the new permission is picked up. Check that system's own record of changes if the account was altered recently.
The other system refused the request itself. Some systems turn a request down because of what it asks for — content their policy does not allow, for instance. The run page says the system declined on content-policy grounds, and offers no re-authorise button. Reconnecting and retrying will not change the answer; the job, or what it was given to work on, has to change.
It expires again within days. Some systems issue short-lived access to accounts flagged as inactive or shared. Ask whoever administers it whether the account AIR uses is subject to a shorter policy than a normal user's.
It names AIR itself. If the system named is one of AIR's own — Air-Research authentication has expired, for instance — there is nothing of yours to reconnect. AIR's own services hold their own keys. That one is ours: report it, with the run.
You cannot see Tools, or cannot reconnect. Only an Owner can connect or reconnect a system. The tools item in the top bar only appears for Owners and managers. If you are not an Owner, ask one to reconnect.
Refused, but nothing to reconnect¶
The same "refused" can come from AIR deciding a step should not go ahead, rather than from another system. Reconnecting does nothing for these, even though the run page may still offer Re-auth. Look at the exact error under the step:
| The step says | What it is | See |
|---|---|---|
practice_disabled |
The job needs a practice your organisation has switched off, or this team has not applied. | A practice is switched off |
data_scope |
A colleague would not look something up for the person it was talking to. | A colleague would not share that |
| I couldn't make that change — the image tool wouldn't accept that request… | The picture service turned down what it was asked to draw. | A picture request was refused |
| Air-Assessment refused the request… while writing a question set | The colleague is not taught to write that kind of set. | Nobody can write an assessment |
A few other refusals come from AIR's own practices and name them — Air-Assessment, Air-Learning, Air-Platform. Someone asked a colleague for something it will not do in that conversation: an explanation before the question was answered, a quiz for someone AIR does not know, a curriculum or a report that is not theirs to see, or a report with no data sources connected yet. None of those is a connection, and reconnecting will not change them.
Air-Email refused the request is AIR's own email service turning the colleague down. There is nothing of yours to reconnect: report it, with the run.
Why the job did not simply retry¶
AIR does not retry a failed run on its own — not for an expired key, and not for anything else. An expired key is the clearest case: every retry would be refused in exactly the same way, and a job silently retrying for hours is worse than one that stops and tells you.
If the same job fails like this three times in a row, AIR stops the job itself, so it is not still trying in the background while you read this. Your AI manager tells you it has stopped. Once you have reconnected, turn it back on: in All work, open the job's ⋯ menu and choose Resume.
Related¶
- Tools and connections — connecting systems and choosing which colleagues can use them.
- Runs — the run page, Resume and running again.
- A job stopped partway through — the failures that are not about a connection.
- A practice is switched off, a colleague would not share that, a picture request was refused — refusals that look like this one and are not.
- Jobs — when a job stops itself.