Loading

Unable to capture Organization Daily Limit Exceeded error when the application is up and running

Julkaisupäivä: Feb 18, 2025
Ratkaisu

SYMPTOM

When salesforce Organization total events daily limit is exceeded and mule application is up and running it does not throw an Exception with the below configuration:
 
Daily limit
 
<salesforce:replay-channel-listener doc:id="e714e356-1821-4879-9f8c-c05c2e83c5eb" 
config-ref="Salesforce_Config" replayOption="FROM_REPLAY_ID" 
throwExceptionWhenOrganizationDailyLimitExceeded="true" streamingChannel="/data/AccountChangeEvent" replayId="-2"/>

 CAUSE

Organization Daily Limit Exceeded"  this checkbox will enable the connector to throw an exception when the application is being started and the limit was exceeded. It does not throw this exception when the source is already running, at that point, it will just stop receiving events and it shall continue when the limit is not exceeded anymore. 
 

SOLUTION

This is working as expected as per the mule runtime design. You can only see this error when you start an application otherwise it will just stop receiving events and it shall continue when the limit is not exceeded anymore.
Knowledge-artikkelin numero

001120652

 
Ladataan
Salesforce Help | Article