function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anna Loughnan 6Anna Loughnan 6 

Platform Events - "Daily Limit Exceeded" when we have maybe 2000 daily events

Hi, first timer here :)
We are at our wits end, have set up Platform Events with a CometD client. Getting "You have exceeded your daily limit" message even though according to our monitoring we have around 2000 daily events, nothing like the stated 50,000. Getting no joy from Salesforce support on this.
(I am also going to post another related question - related to the supposed 24 hour life span of a message - we are finding the Message Id cannot be retrieved after a few hours).
Many thanks
Daniel BallingerDaniel Ballinger
According to How to monitor Platform Events consumption? (https://salesforce.stackexchange.com/a/224543/102) you can't monitor the limits without doing so manually yourself.

It's frustrating, as it is possible to monitor the same type of limits for PushTopics (https://developer.salesforce.com/docs/atlas.en-us.api_streaming.meta/api_streaming/using_streaming_api_monitoring_events_usage.htm), both via the UI and via the API.

I'd consider posting the question in the Offical Platform Events group (https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F93A0000004gjg) (assuming it isn't there already). I did find this comment from Jay Hurst (https://success.salesforce.com/0D53A00003Lt3K4):
Jay Hurst (Salesforce) Sr. Director, Product Management
There is currently not a way to actively check outside of using Shield Event Monitoring. We are planning on adding the current usage against the total limit to our REST API /limits resource.
19 January 2018 at 12:36 PM
Daniel BallingerDaniel Ballinger
Consider voting for the idea: Expose Platform Event Limit Usage (https://success.salesforce.com/ideaView?id=0873A000000TtGzQAK)