Receiving error message when saving a Confluence page using Confluence Forms and Templates

Rayudu Bhimesh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 8, 2024

Hi,

I'm using the Confluence Forms & Templates plugin and I'm getting the following error when saving a Table Data macro ( argument "content" is null ).

Error 'argument content is null' when saving a page | Confluence


In Atlassian documentation i found a solution but not able to get this done
Below is the one i found in documentation.


As the bug mentioned, with Confluence LTS 8.5.5, 8.7.2, and higher versions, we increased the default value for the limit to 100kb for the authenticated users. If the issue is still observable with these versions, you can use the new system property, multipart.authenticated.max.param.length, that is introduced with these versions. In the example below, the limit is increased to 150kb - we cannot suggest a specific value as this is totally based on the data size you are using in this third-party plugin functionality and should be assessed case by case. Recognized System Properties | Confluence Data Center 9.1 | Atlassian Documentation -Dmultipart.authenticated.max.param.length=150000 Please check the Configuring System Properties to see how to set this accordingly based on your OS and your startup type. Configuring System Properties | Confluence Data Center 9.1 | Atlassian Documentation

1 answer

0 votes
Maelle Cartron - Elements
Atlassian Partner
November 13, 2024

Hi @Rayudu Bhimesh 

Welcome on Community :) I don't know if this will help but it seems that the error you’re encountering ("argument content is null") is often related to the data size limits when saving certain macros like the Table Data macro. It looks like the documentation you found is pointing you in the right direction. I did a little research and maybe you can try resolve it like this:

1) Verify Your Confluence Version
First, make sure you're running a compatible version of Confluence. The mentioned fix applies to Confluence LTS 8.5.5, 8.7.2, and higher. If you’re on an older version, consider upgrading.

2) Adjust the Data Size Limit
If you're already on one of the supported versions but still encountering the issue, you’ll need to increase the data size limit using the multipart.authenticated.max.param.length system property. Here’s how you can set this property:

  • Open your Confluence startup configuration file (e.g., setenv.sh for Linux or setenv.bat for Windows).
  • Add the following line (adjusting the value as needed based on your data size): 
    -Dmultipart.authenticated.max.param.length=150000
  • Save the file and restart your Confluence instance

3) Restart Confluence
After applying the change, make sure to restart Confluence to apply the updated system property.

Hope this help :)

Maëlle

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events