While trying to upload a poudriere build log for a port I got this error. The file was 1.3M in size.
Thanks for the report Franco. It might be worth looking at our web server logs to see how often this response code is generated to understand the need for larger attachments.