Problem
An NrIntegrationError event is generated that has the following message:
Configuration mismatch: Agent configured harvest limit for EVENT TYPE 
exceeds maximum limit; limit adjusted to LIMIT
Solution
This is caused by a configuration mismatch with the agent. See the relevant agent solution to resolve your configuration mismatch:
In your newrelic.yml:
- For transaction events, adjust the value of 
transaction_events.max_samples_stored. - For custom events, adjust the value of 
custom_events.max_samples_stored. 
In your newrelic.config:
- For transaction events, adjust the value of the 
maximumSamplesStored attribute under the transactionEvents element. - For custom events, adjust the value of the 
maximumSamplesStored attribute under the customEvents element. 
- For transaction events, in the 
transaction_events: { section of your app's newrelic.js, adjust the value of max_samples_per_minute. - For custom events, in the 
custom_insights_events: { section of your app's newrelic.js, adjust the value of max_samples_stored. 
In your newrelic.ini:
- For transaction events, adjust the value of 
transaction_events.max_samples_stored. - For custom events, adjust the value of 
custom_insights_events.max_samples_stored. - For error events, adjust the value of 
error_collector.max_event_samples_stored. - For span events, adjust the value of 
span_events.max_samples_stored. 
In your newrelic.yml:
- For transaction events, adjust the value of 
analytics_events.max_samples_stored. - For custom events, adjust the value of 
custom_events.max_samples_stored. - For error events, adjust the value of 
error_collector.max_event_samples_stored. 
Conseil
This error doesn't apply to the PHP agents.