This guide is designed to help you quickly identify and resolve common issues when running workflows in Ecoscope. Whether you're working with Subject Tracking, Events, or Patrols, each entry in this guide includes:
Error ID – The message or code displayed after a failed run
Suggestion – Recommended actions to help resolve the issue
How to Find the Error ID
When a workflow fails, the error message can be found in the Metadata panel of the workflow. Click on the failed workflow to open its metadata and look for the red-highlighted error block near the top.
Example:

Use this guide to troubleshoot failed workflows, unexpected behavior, or confusing messages. If you are unable to resolve the issue after troubleshooting with this guide please make sure to contact the Support team with the metadata information.
Troubleshooting Guide
Any
| Error ID | Suggestion |
ERClientPermissionDenied('Forbidden.') |
Check whether the EarthRanger user associated with this data source has permission to access the specific data being queried. For example, if the workflow references a subject group, make sure the user has access to all subjects in that group. |
timed out |
The workflow took too long to complete and was stopped. Try the following to reduce processing time:
If you're working with large or high-resolution datasets and the above steps don't help, contact support. |
ValueError('cannot insert TemporalGrouper_%Y, already exists') |
You’ve added the same grouper more than once. Go to the configuration form and remove the duplicate grouper entry before running the workflow again. |
The maximum number of workflows are already running (X total, and up to Y heavy duty runs). Please wait for one to finish, then try again. |
Ecoscope workflows run on secure cloud servers, and each account has a set number of concurrent workflows it can run at once to ensure resources are shared fairly among users. If you see this error, it means you’ve reached that limit. Once one of your current runs completes, you’ll be able to start another. At times of high traffic, or if your account has been especially active in the prior 24 hours, you may also experience reduced limits. |
Workflow https://<WORKFLOW_NAME>.ecoscope.io/ is temporarily unavailable. Please try again in a few minutes. If the problem persists, please contact support. Details: ReadTimeout |
During traffic spikes, the cloud servers that run workflows may be temporarily saturated and unable to keep up with demand, which can trigger this error. In most cases, it resolves quickly — wait a minute or two and then click Run Again from the workflow’s kebab menu (⋮). If the error continues after several attempts, spaced a minute or more apart, contact support as it may indicate a broader outage. Note that <WORKFLOW_NAME> will be replaced with the name of the workflow you were trying to run (e.g., patrols, events), and while ReadTimeout is the most common detail shown, the same guidance applies regardless of what appears. |
ValueError('There are no polygons in Feature Group |
The spatial grouper you picked is a feature group with no polygons (only points or lines), so the workflow can't group your data by area. Edit the workflow and choose a feature group that contains at least one polygon, add a polygon to the group in EarthRanger, or remove the spatial grouper. |
HTTPStatusError('Server error '502 Bad Gateway' for url |
The EarthRanger Data Warehouse couldn't reach your EarthRanger site to check your access. This is usually temporary. Wait a few minutes, then click Run Again from the workflow's kebab menu (⋮). If it keeps happening, use Advanced Run to read this data source from the EarthRanger API instead of the Data Warehouse, or contact support. |
ConnectionError('Warehouse API stream broke for |
The EarthRanger Data Warehouse couldn't confirm your access with your EarthRanger site, so it returned no data. Check that your EarthRanger site loads in a browser, then click Run Again from the workflow's kebab menu (⋮). If it keeps happening, use Advanced Run to read this data source from the EarthRanger API instead, or contact support. |
ERClientException('Authorization token is invalid or expired.') |
EarthRanger no longer accepts the login saved in this workflow's data source. Recreate the data source in Ecoscope with your EarthRanger credentials, then run the workflow again. |
ERClientException('Failed to call ER web service at |
Ecoscope couldn't fetch your data from EarthRanger after several attempts. Go to the Data Sources page and check that the data source this workflow uses shows as connected. If it doesn't, reconnect it. If it does, run the workflow again, and if the error persists, contact support. |
ValueError('Failed to find IDs for values: |
A patrol type saved in this workflow is no longer an active patrol type on your EarthRanger site, for example because it was deactivated after the workflow was set up. Edit the workflow, re-select the patrol types, and run again. To keep analysing that patrol type, ask your EarthRanger Site Administrator to reactivate it. |
Events
There are currently no known errors specific to the Events and Download Events workflows. If one of these workflows fails, and your error isn't listed in the Any tab, contact support and include the workflow's metadata (open View Metadata on the failed workflow and click Copy Metadata).
Patrols
| Error ID | Suggestion |
traj_patrol_events_ecomap - KeyError('Index(['patrol_serial_number'], dtype='object')') |
Colouring trajectories by Patrol Serial Number fails. Choose a different trajectory colour, such as Patrol Type, Patrol Status or Subject, and run again. |
Subject Tracking
| Error ID | Suggestion |
subject_traj - ValueError('No Trajectory data left after applying segment filter') |
The segment filter is too strict and removes all trajectory data. In the advanced configuration, relax the minimum and maximum segment length, duration or speed. Also check that the time range covers a period when your subjects were reporting. |
subject_obs - KeyError('group_name not found') |
The subject group saved in this workflow can't be found. It may have been renamed or deleted, or the EarthRanger user behind your data source can't see it. Edit the workflow and re-select the subject group. If it isn't in the list, contact your EarthRanger Site Administrator or the EarthRanger Support Team, and include your username and the subject group used in the workflow configuration. |
subject_traj - ValueError('Cannot remove 1 levels from an index with 1 levels: at least one level must be left.') |
Every subject in your selection has only one location in the chosen time range, so no tracks can be built. Widen the time range, or choose subjects that report more often. |
