diff --git a/lib/jsonapi/renderer/document.rb b/lib/jsonapi/renderer/document.rb
index <HASH>..<HASH> 100644
--- a/lib/jsonapi/renderer/document.rb
+++ b/lib/jsonapi/renderer/document.rb
@@ -45,7 +45,7 @@ module JSONAPI
 
       def errors_hash
         {}.tap do |hash|
-          hash[:errors] = @errors.map(&:as_jsonapi)
+          hash[:errors] = @errors.flat_map(&:as_jsonapi)
         end
       end
Allow arrays of arrays of errors. (#<I>)