Errors, Logs & Notifications
Effective error handling is an important part of operating reliable Birds. Blackbird helps you prevent transient failures with retry policies, keep non-critical work from blocking a Flight with skip actions, investigate what happened in Logs, and stay informed through Notifications.
Errors in Flights
Section titled “Errors in Flights”Actions that Blackbird executes can throw errors. This section covers what types of errors you can expect, and how to possibly mitigate them.
Types of Errors
Section titled “Types of Errors”When an Action throws an error, Blackbird stops the Action and Flight and displays the error on the Flight page. Errors raised by Apps are grouped by who can resolve the problem:
- Configuration error: The configuration, input, credentials, or environment needs to be corrected by the user. The error message often explains how to resolve it. Examples include an unsupported file type, invalid input values, authentication or authorization issues, and limits imposed by the connected App.
- App not responding: The connected App has a temporary or external problem that neither the user nor the App developer can resolve immediately. Examples include a service outage, an unexpected server error, or a rate limit that cannot be handled through waiting and retrying. It’s also possible that the App forward a custom error message in which case it’s possible that the user needs to reconfigure the Bird.
- Unexpected App issue: An unhandled issue in the App’s code. This indicates that the App developer needs to investigate and either handle the problem or classify it as one of the error types above. Contact Blackbird Support with the Flight identifier and error details if you need help. Error reporting does not by itself confirm that an investigation is underway.
These categories help you decide whether to correct the Bird’s configuration, retry later, or contact the App developer or Blackbird support. In the case of App not responding errors it could be a good idea to defensively protect your Flights in order to maintain smooth operations. Blackbird has two different error handling mechanics for this:
Retry policy
Section titled “Retry policy”How a Bird deals with errors can have a big impact on its overall performance. Retrying actions that failed due to temporary problems can often help complete a Bird that might otherwise be stuck.
To set up a retry policy in Blackbird:

- Open an action’s Error Handling tab and enable Add Retry Policy.
- Define the maximum number of retries in the ‘Number of retries’ field.
- Specify the retry interval in the ‘Frequency (Seconds)’ field.
The Bird retries the action at the configured fixed interval. This policy does not add exponential backoff; an App can separately implement provider-specific backoff. See retry limits for the maximum retry count and frequency.
When to use a retry policy
Section titled “When to use a retry policy”One may think that it’s wise to apply a retry policy to every action in their Bird “just in case”. This is unfortunately not the case because of the following reasons:
- A retry policy may incur extra API usage cost.
- A well-built App should already take care of retries under the hood for common scenarios such as rate limits.
- Retrying an action with side-effects can cause logical issues in the systems you connect to. For example, if the action creates a new project in a system then multiple projects can suddenly be created because the underlying error occurred after the project creation was handled. In technical terms one needs to take idempotency into account.
This still leaves us with the question when you should be using the retry policy feature. As a general rule of thumb it is recommended to add a retry policy when the system you are connecting to can be assumed to be unstable in certain scenarios and from testing your Bird you conclude that adding a retry policy would make your work of operating this Bird less cumbersome.
So adding a retry policy to an action that sometimes fails due to a server being overloaded, while the Action itself does not spawn new entities in this system is good practice. Adding a retry policy to an Action that can fail because a user misconfigured a certain value is not recommended as retrying the action will never yield good results and it is in this case often better to be notified sooner rather than later.
Skipping an action on error
Section titled “Skipping an action on error”There may be cases where an error can occur, and you’d like the Bird to progress regardless of the error. In these situations, you can skip the failed action and continue with the rest of your Bird.
To enable this:
- Find the desired action in your Bird, then go to the ‘Error Handling’ tab.
- Toggle ‘Enable Skip Action’ on.
Now, if this particular action errors, it will be skipped, allowing the Bird to proceed.
💡 Note: When you are enabling the skip action ability, the output values of this action cannot be used anywhere else in the Bird.
When to skip an action on error
Section titled “When to skip an action on error”The skip Action ability is designed to work perfectly for non-essential Bird steps. E.g. steps that are not vital for the correct executing of your Bird like logging, notifications, status updates, etc. It is up to the user to decide which actions are non-critical and are permissible to be skipped.
Skipping a failed loop iteration
Section titled “Skipping a failed loop iteration”Loops can be configured to continue when an iteration encounters an error. In the loop’s Error handling tab, enable Skip iteration. When enabled, a failed iteration is skipped and the Bird continues with the next iteration instead of stopping the entire Bird.
Use this for loops where each item can be processed independently and a failure for one item should not prevent the remaining items from being processed.
Logs provide the detail you need to diagnose an issue. Open the logs panel using the logs icon in the top-right corner of the Bird editor, Flight page, or an App’s connections tab. In the case of Flight logs, they usually provide more information (e.g. stack traces) for failed Actions.
- Bird logs record who edited, saved, published, activated, or suspended a Bird and when. They also report publishing and webhook or polling issues, including a stack trace when one is available.
- Flight logs record take-off and landing times, additional information emitted by Actions and Events, and error stack traces when available in chronological order of a particular Flight.
- Action and Event logs are available from the individual Action or Event’s Logs tab, so you can focus on entries for that specific step.
- Connection logs record who created or updated a connection, as well as disconnections and their available stack traces.
A suspended Bird stops accepting new trigger events. Logs and Notifications can call this Bird deactivated; it refers to the same lifecycle state. Correct the reported issue before activating it again.
Notifications
Section titled “Notifications”Notifications surface important operational issues as they happen. Open Notifications in the Blackbird sidebar to view the entries available to your account.
Check the Nest identified by the notification and follow its link to investigate the affected Bird or connection. Examples of issues to investigate include:
- A connection is disconnected because Blackbird can no longer communicate with the third-party application.
- A Bird is automatically suspended after repeated webhook or polling failures. See the failure threshold.
For custom alerting or escalation Birds, use the Blackbird Service API’s notification event to trigger a Bird when a notification is created.
Setting up automatic alerts
Section titled “Setting up automatic alerts”Even with retry policies and skip options, a Flight can still fail. Use the Blackbird Service API App to create Birds that react to a failed Flight or to a newly created notification. This gives you full control over the response: send a message in Slack, create a Jira ticket, send an email, log the issue to a database, or start a recovery Bird.
For example, start with the failed-Flight event and add a Slack message containing the Flight identifier and error details.
The Blackbird Service API App also includes Get Bird logs and Get Flight Logs actions, so a response Bird can retrieve diagnostic information about the affected Bird or Flight. Its On Notification received event trigger can start a Bird whenever Blackbird creates a notification, enabling custom notification delivery and escalation Birds.
Read more about these actions and events on the Blackbird Service API App page.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Next action |
|---|---|
| Missing required input | Resolve Bird Tasks and check mapped values |
| Authentication or permission error | Check the connection and provider scopes |
| Rate limit or temporary outage | Inspect the provider response and retry only when safe |
| Duplicate external output | Inspect earlier completed writes before flying the Bird again |
| Waiting without an error | Check checkpoint correlation and the external object state |
| Suspended Bird | Read Bird logs and Notifications before reactivation |
See capabilities and limits for service-dependent limits.