Reference

Troubleshooting

What to check when a push opened no pull request, a run translated nothing, a job failed, or translation stopped for billing.

Two places answer most questions. The project's Activity page lists what TolkBot did, newest first. The Needs you list on the project's Overview shows failures and paused translation, each with a button that fixes it.


No pull request after a push

Open the project's Activity page and find the push. What the timeline shows tells you where to look.

What the timeline showsWhat it means
No Push to entry for the commitTolkBot left the push out. See No entry for the push
Push to branch and Not translated: with a reasonTolkBot didn't act on the push. See Not translated
Push to branch, Checked languages and a reasonTolkBot read the push and translated nothing in those languages. See Checked, and nothing translated
A translation job, and no pull request entryThe job ran, and nothing it translated could be written
Couldn't update the pull request for languageThe update failed. See Pull request failures

A push that arrives while TolkBot is already translating or writing that language waits for it to finish. Its entry appears once it runs.

No entry for the push

The timeline leaves out pushes that aren't the project's, so it doesn't fill up with every branch and every commit. TolkBot makes no entry when:

  • The push went to another branch. Only the repository's default branch counts, unless Base branches in workflow settings names others.
  • The push changed nothing under the project's root directory. In a monorepo, a project only reacts to files inside the directory you picked when you created it. See Monorepo support.
  • The push changed none of the project's translation files, and automatic pull requests are off, the pusher is in Ignore users, or no language is set up. A push that changed a file the source pattern covers gets a Not translated entry instead.
  • It was one of TolkBot's own pull requests merging. The Pull request merged entry stands for it.
  • The project is archived, or its repository was deleted, transferred or disconnected. The project shows a banner saying why. See Archived projects.
  • The GitHub App is suspended or uninstalled. A banner at the top of the dashboard says so, with a button to fix it.

Not translated

A push to a branch TolkBot translates from that changed your translation files, and that TolkBot didn't act on, says why:

The entry saysWhat to do
automatic pull requests are offSwitch on Auto-create PRs under Settings → Workflow. A new project has it on. A project created before that became the default has it off unless someone switched it on
pushes from name are ignoredThe account is in Ignore users
no language is set upA push updates pull requests only for languages that are set up. See Languages that aren't set up. Projects from before automatic pull requests were the default are the exception: they update every target language

Checked, and nothing translated

Under Checked languages, the entry says why a language got nothing:

The entry saysWhat it means and what to do
Nothing new to translate in languageEvery key the push added or changed already has a translation. See Nothing was translated
n keys to translate, below the minimum of mWith Minimum keys threshold above 1, a smaller push translates nothing. See Minimum keys threshold
your payment is failing, the spending limit is reached, the trial credits are used or out of creditsTranslation is paused for billing. See Credits and payments. Once it is fixed, nothing re-runs on its own: the next push translates, and Translate missing picks up the rest
the project has no source patternSet Source pattern under Settings → Languages
the only work was removing translations a person holdsThe push removed source keys, and every translation it would have removed is one a person holds. See Removed and renamed keys
Nothing new to commit in languageThe pull request branch already had every value. See A job ran, and no pull request came of it

Pushes from before this was recorded say only Checked languages.

A job ran, and no pull request came of it

The job's page has a Checks summary. A line such as 3 values withheld for a lock or a pending draft, under Waiting on a person, means TolkBot translated keys a person holds and didn't write them. A key someone locked or is drafting is theirs; TolkBot never writes over it. When every translated key was held, or the pull request branch already had the same values, there is nothing to commit and no pull request update.


Nothing was translated

A key counts as translated when the target file has it, even with an empty value, or when the language's open pull request already carries it. So a push can add keys and still have nothing to translate. The other reasons:

  • The keys were missing before this push. By default a push translates only the keys it added or changed. Keys that were missing already stay missing. Use Translate missing on the Translations page, or set the translation scope to All missing keys.
  • The source text changed for a translation a person owns. TolkBot replaces a translation only if it wrote it and nobody touched it since. Anything else, or a translation with no record of who wrote it, is shown as needing you on the Translations page. See Changed source text.
  • The edit was cosmetic. A fixed typo, changed whitespace or curly quotes keep the existing translations.
  • The key was renamed. A renamed key takes its translation with it. See Removed and renamed keys.

Translate missing found nothing

The preview in All languages says per language why:

BadgeMeaning
Up to dateThe language has every key
Left outEvery key with work is held by a person: locked, draft in progress or written by a person
Could not readTolkBot couldn't parse the language's file

Translate missing and All languages read your default branch, not the open pull request.

The CLI found nothing

tolkbot translate keeps translations it has no record of, and doesn't retranslate them. See What counts as work.


Unreadable locale files

When TolkBot can't read the base language file, the run fails, and Show technical details on the failure has the message:

Message starts withWhat to do
Cannot read source translation file … file not foundThe source pattern or base language doesn't match a file. Fix them under Settings → Languages
Cannot read source translation file … the file is emptyThe base file is empty on that branch
Cannot parseThe file isn't valid JSON or TypeScript, or the pattern points at the wrong file. See Supported formats

Job failures

A translation job ends in one of these when it didn't translate everything. See Activity for the full list of statuses.

StatusMeaningWhat to do
partialSome keys were translated and some failedView Failed Keys in the job's menu lists them, each with its error
failedNothing was translatedRetry on the Overview's Translation failed in language row starts Translate missing for that language
cancelledSomeone cancelled itStart it again from the Translations page

Nothing re-runs a whole job. A key the job didn't translate keeps the state it had, so a missing key is still missing and Translate missing picks it up. To try one key again, open it on the job's Keys tab and choose Retranslate.

You get a notification when a job fails or finishes with failures; see Notifications and emails.

Why a key failed

The error is in the key's Result column on the job's page.

ErrorWhat happened and what to do
Placeholder validation failed for key …The translation dropped or changed a placeholder. TolkBot tried three times, the last with the stronger model, and none kept them all. The refused attempts cost nothing. Write the value yourself on the Translations page. See Placeholders and plurals
Another error, ending in (gave up after …)The model kept failing on the key, for example during a provider outage. Translate it again later
Starts with Insufficient credits, Overage limit or Your trial creditsThe organization hit a credit limit while the job ran. The job stopped and kept what it had translated. See Credits and payments
Job cancelled by userThe job was cancelled before it reached the key. The key shows as skipped
Abandoned in … state when the job finalized, or starts with Job failed:The job stopped before the key finished. Translate it again

A key that is still retrying can show an error in red while it waits for its next attempt.


Pull request failures

When TolkBot can't update a pull request, the timeline says Couldn't update the pull request for language, and the Overview's Needs you list has Pull request update failed for language. Nothing was committed. Retry starts Translate missing for that language, and the next push tries again too. On the Pull requests tab, the language shows Failed, or Last update failed when a pull request is already open.

Show technical details on the timeline entry has the error. The common ones:

ErrorWhat to do
Access denied, or a resource not foundThe GitHub App can't reach the repository or a branch it needs. Check the app's repository access on GitHub
Another PR write for this language is still activeAnother update of the same language held the branch for over a minute. Retry
The PR branch changed after … or The source branch changed after validationThe branch moved while TolkBot wrote. Retry
Rate limited, retry after …GitHub's API limit. Retry after the time it gives
A file messageSee Unreadable locale files

TolkBot retries GitHub's temporary errors itself before it reports a failure.

Changes not in the pull request

Edits you send from the dashboard can be left out of the pull request. The Overview then shows Changes not in the pull request, with the reason. Another update for this language is finishing. Try again in a minute. means another update held the branch. Retry sends them again.


Credits and payments

When translation stops for billing, the dashboard shows a banner on every page, and the Overview's Needs you list starts with Translation is paused. While it lasts:

  • a translation started from the dashboard is refused, with the reason
  • a push translates nothing and opens no pull request
  • the CLI exits with code 4 and the same reason; see Exit codes

A job already running when the limit is reached stops between batches. It keeps what it translated, and the keys it didn't reach fail with the reason. Nothing re-runs once translation resumes: the next push translates its own keys, and Translate missing picks up the rest.

Only admins can change the plan, the spending limit and the payment method. Members see the Billing page without the controls. Billing emails go to every member and can't be turned off; see Notifications and emails.

See Billing and credits for how credits, overage and the spending limit work.

Included credits used, overage on

Nothing stops, and no banner shows. Translation continues, and the extra credits are billed as overage with the next renewal. Admins and members get an email, Your included credits are used; overage has started. An admin who would rather stop here can lower the spending limit or switch overage off in Billing.

Included credits used, overage off

The banner says You are out of credits, and translation is paused until the credits renew. To continue now, an admin switches overage on in Billing.

Spending limit reached

The banner says You reached your spending limit, and translation is paused until next month. An email comes at 80% of the limit and another when it is reached. To continue now, an admin raises the limit in Billing.

Trial credits used

The banner says You are out of credits and that the trial credits are used. A trial has no overage, so translation is paused until the paid plan starts. An admin can start it now with Start paying now in Billing, which also gives a fresh month of credits.

A payment failed

While the card is still being retried, the banner says Your payment did not go through, and the sidebar says Payment failed. Translation continues on the included credits that are left. There is no overage while the payment fails, so translation stops when they run out, and the You're out of credits email says to update the payment method.

After several failed attempts, the banner says Translations are paused — payment failed, Billing says Translations are paused: your payment failed, and everything stops.

Either way, an admin chooses Update payment method in Billing. Translation resumes once the payment goes through.

Subscription ended

The dashboard opens on Your subscription has ended, or tells a member that an admin has to subscribe again. Credits left over can still be spent, without overage; then translation stops. An admin chooses Choose a plan to start again. Projects, glossaries and learnings are kept.

Moving to Starter archived a project

Starter has one active project. Moving to it archives the others, and moving back to Pro brings them back. See Changing plans.

Previous
Trust and data