Unable to record event with remote Sentry server (Sentry::Error - the server responded with status 429

I’m getting the following log message: Failed to submit event. Unreported Event: <no message value>

As well as this error:
Unable to record event with remote Sentry server (Sentry::Error - the server responded with status 429 body: {"detail":"event rejected due to rate limit"}): /usr/local/bundle/ruby/2.6.0/gems/sentry-ruby-core-4.2.2/lib/sentry/transport/http_transport.rb:29:in rescue in send_data’
/usr/local/bundle/ruby/2.6.0/gems/sentry-ruby-core-4.2.2/lib/sentry/transport/http_transport.rb:15:in send_data' /usr/local/bundle/ruby/2.6.0/gems/sentry-ruby-core-4.2.2/lib/sentry/transport.rb:31:in send_event’
/usr/local/bundle/ruby/2.6.0/gems/sentry-ruby-core-4.2.2/lib/sentry/client.rb:95:in send_event' /usr/local/bundle/ruby/2.6.0/gems/sentry-ruby-core-4.2.2/lib/sentry/client.rb:47:in block in capture_event’
/usr/local/bundle/ruby/2.6.0/gems/sentry-ruby-core-4.2.2/lib/sentry/background_worker.rb:33:in block in perform' /usr/local/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in run_task’
/usr/local/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in block (3 levels) in create_worker' /usr/local/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in loop’
/usr/local/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in block (2 levels) in create_worker' /usr/local/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in catch’`

The events are logged in Sentry though.
What can be causing these errors and how can I fix it?