diff --git a/app/controllers/check_records/bulk_searches_controller.rb b/app/controllers/check_records/bulk_searches_controller.rb index d716d770..cb9c7132 100644 --- a/app/controllers/check_records/bulk_searches_controller.rb +++ b/app/controllers/check_records/bulk_searches_controller.rb @@ -59,7 +59,7 @@ def send_error_analytics_event .with_user(current_dsi_user) .with_request_details(request) .with_namespace(current_namespace) - .with_data(errors: @bulk_search.errors.to_hash) + .with_data(data: { errors: @bulk_search.errors.to_hash }) DfE::Analytics::SendEvents.do([event]) end