Loading

Proactive Alert Monitoring: Durable Streaming API Limit

Udgivelsesdato: Jan 26, 2024
Beskrivelse

The streaming API enables the streaming of events using push technology and provides a subscription mechanism for receiving those events in near real time. These PushTopic events are subject to daily limits which, if exceeded, will prevent the delivery of subsequent events for up to 24 hours.

If you receive the following error message, your organization may temporarily be unable to receive Streaming API messages (for up to 24 hours).

Full error message text:

  • 403: Organization total events daily limit exceeded.


The Signature Success plan’s Proactive Monitoring product will monitor for, and alert you to, high consumption against this limit. This article outlines some scenarios to help you investigate should you receive an alert. In addition, on the Salesforce Help site Designated contacts and above can see your realtime metrics, alerts & more.


Causes

This system exception will be raised when daily streaming events exceed governor limitations for API usage.

Possible streaming data failure scenarios:

  • Excessive record updates triggering notifications
  • Excessive concurrent subscribers receiving large number of messages


 

Løsning

Here are a few suggestions and resources that may help to resolve this error.

Excessive record updates triggering notifications:

  • If you require multiple field updates using a streaming API query, schedule updates during non-business hours when smaller amount of users subscribed to the query are present.
  • Tune the WHERE filter parameters in the PushTopic SOQL query to receive specific events.
  • Modify the Push Topic NotifyForFields option to receive only specific event.


Excessive concurrent subscribers receiving large number of messages

  • Ensure clients subscribed to the Streaming API are establishing only one connection. Use the empAPI  if subscribing from a UI component
  • Remove any unnecessary connections and subscriptions.

 

Additional Resources:

AppExchange resources

 

Help and Developer resources

Vidensartikelnummer

000382448

 
Indlæser
Salesforce Help | Article