---
schema_version: "1"
id: 0e0f991de8318996fd06c289688b7b7543d2e1561f3845101d73548cb86a9b5b
title: Error Recovery Options
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/ev_relay_error_recovery.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.ev_relay_error_recovery.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 01bc656250841587c1b3e6b589196ffd68c4c83ac8a422e20579afc4e2317bb1
description: If transient errors occur, such as connectivity issues or errors in the event relay configurations, event relay resumes automatically after the connectivity issues are resolved or the configurations are fixed. The event relay attempts to resume sending events from the event bus from where it left off. In rare occasions, if it can't resume after the last relayed event, it uses the error recovery option to determine where to resume from.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Error Recovery Options

If transient errors occur, such as connectivity issues or errors in the event relay configurations, event relay resumes automatically after the connectivity issues are resolved or the configurations are fixed. The event relay attempts to resume sending events from the event bus from where it left off. In rare occasions, if it can't resume after the last relayed event, it uses the error recovery option to determine where to resume from.

Specify the error recovery option when you create or edit the event relay in Setup. Choose one of these options.

- Resume from the latest events received. This option skips sending events that were published during the error. This option is the default.
- Resume from the earliest events stored in the event bus. This option sends new events and any other events less than 72 hours old. You can reprocess all stored events and catch up on missed events.

Also, you can specify the error recovery option in Tooling API or Metadata API via the relayOption field in EventRelayConfig. When you create an event relay, add the relayOption field with the desired value in the EventRelayConfig POST request. Or you can update an event relay by performing a PATCH request for EventRelayConfig and supplying a value for relayOption. For more information about this field, see [EventRelayConfig](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_eventrelayconfig.htm) in the Tooling API Developer Guide and [EventRelayConfig](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_eventrelayconfig.htm) in the Metadata API Developer Guide.