-
-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Description
Description:
I'm encountering an issue while working on a security assessment report containing 16 vulnerabilities and several images. When I attempt to add a new image, the report generation fails entirely.
Based on the error message, it appears the payload exceeds MongoDB's maximum BSON document size of 16,793,600 bytes (16MB).
Any suggestion?
LOG:
Caused by: org.bson.BsonMaximumSizeExceededException: Payload document size is larger than maximum of 16793600.
at com.mongodb.internal.connection.BsonWriterHelper.writePayload(BsonWriterHelper.java:68)
at com.mongodb.internal.connection.CommandMessage.encodeMessageBodyWithMetadata(CommandMessage.java:147)
at com.mongodb.internal.connection.RequestMessage.encode(RequestMessage.java:138)
at com.mongodb.internal.connection.CommandMessage.encode(CommandMessage.java:61)
at com.mongodb.internal.connection.InternalStreamConnection.sendAndReceive(InternalStreamConnection.java:247)
...
Note that the images are attached using the Text Editor image upload feature which adds it as base64, example:

Metadata
Metadata
Assignees
Labels
No labels