Troubleshooting Agent Team Batch Runs in GTM One
Learn how to resolve common issues with agent team batch runs.
Learn how to resolve common issues with agent team batch runs.
Overview
A batch run runs an agent team across many inputs at once, such as the rows of an Audience or a CSV file. Each run in the batch has its own status, and the batch run results show the output of each step in its own column. Use this article when a batch run fails for credits or is stopped, when you cannot export results, or when an output column does not show what you expect.
A batch run failed for credits
A run or a batch is refused without starting when the agent team reaches its monthly credit budget or when your organization runs out of credits. The run status tells you which: "Failed - Budget exceeded" or "Failed - Credits exhausted". Either is shown as an attention state rather than an error, because the work can go ahead once the budget is increased or credits are available again. When the whole batch was refused, opening it shows the banner "This batch run was rejected and none of its records ran." and the empty state "No records ran" in place of results.
- In the left navigation, click Agent Teams, click the agent team's name, then click Batch Runs and check the batch's Run status.
- If the budget was exceeded, open the agent team's Settings tab and raise the Monthly credit budget under Credit Budget. Changing it needs permission to manage the team.
- If your organization's credits are exhausted, buy more credits or ask your admin to add credits.
- To rerun a refused batch, open it and click Reinitiate batch in the banner. The new batch opens once "Batch run reinitiated" appears. A batch started from an Audience shows "It was started from an Audience and can be run again from that Audience." instead: run it again from that Audience. When the banner offers See why in the Runs tab, follow it and use step 5.
- To rerun single runs that were refused, click Runs at the top of the list. Click Reinitiate all in the banner above the list, select the runs in the "Reinitiate runs" dialog and click Reinitiate followed by the number of runs, or open the actions menu at the end of a run's row and click Reinitiate. A confirmation reads "New run #" followed by the run number and "is queued and starts shortly.", with View run.
While the budget or credits are still short, Reinitiate shows "Increase monthly budget first" or "Buy credits first", and Reinitiate batch shows "Credit budget still reached", so complete step 2 or step 3 before you reinitiate.
A batch run stopped
A run that is being stopped shows a stopping status, and then a stopped status once it has ended. The batch run results show a banner when the batch stopped.
- Open the agent team's Batch Runs list and use Filters to filter by Run status to find the stopped batches, then open one.
- Review which runs in the batch completed and which did not.
- Run the agent team again for the inputs you still need to process.
The export option is unavailable
The export option in the batch run results can be unavailable, for example when no batch run is open, when the batch failed, or while results are still pending.
- Hover over the export option to read the tooltip that explains why it is unavailable.
- Resolve that condition (e.g., open the batch run you want to export, or wait for pending results to finish), then export again.
If the export fails after you start it, a message confirms the error. Try the export again.
An output column is empty or shows unexpected content
Each step of the agent team has its own output column, and the column header tells you where the step sits in the agent team:
- "Output: Step 2" is a top-level step.
- "Output: Step 1.2" is the second step inside a loop at step one.
- "Output: Step 2/Condition 1/Step 1" is the first step on the first condition of a branch at step two.
- "Output: Step 2 Conditional routing" is the branch step itself, and it shows the path that was taken for that row.
When an output cell looks empty or incomplete, check the following:
- For a step inside a branch, check the conditional routing column for that row. A step on a path that was not taken does not run, so it has no output for that row.
- For a step inside a loop, remember that the column shows only the output of the first loop item. Open the individual run to see the output of every iteration.
- Open the individual run to review each step. A step that produced nothing shows "No output available", and a branch step shows either the condition it matched (e.g., "Condition 1: ...") or "Default path taken - no conditions met".
For a run that used a CSV file, the inputs show a "CSV file" entry with the file name, so you can confirm which file the run used.