The configuration data is not valid

Problem

This error message will be displayed to Confluence admin users if the configuration loaded is not valid. This issue could be caused if a user with admin permissions has manually modified the JSON stored on the “Navigation Configuration“ page. If the change made here has broken the JSON structure, then SubSpace Navigation for Cloud will not use this configuration and will show the warning instead.

Easy fix for the issue

One way to fix this issue is to revert the page to a previous version which is known to work. This can be done by using the “Page history“ feature offered by Confluence.

More complex fix for the issue

An admin user should find the space called “Communardo Products“ with the key “COMMUNARDOPRODUCTS“. Inside it should be a page called “Navigation Configuration“. Edit this page and find the “Page properties“ macro with the id “subspace-navigation“. Copy the text in the macro and follow the steps below:

  1. Validate the JSON structure by using an online tool, for example https://jsonformatter.curiousconcept.com/#

  2. Find the issue in the JSON and fix it. There is no “one size fits all“ solution for this. Depending on the issue, the fix for it will vary.

  3. After fixing all the issues, unformat the JSON. This makes sure that it will work correctly and also reduces the size. To do this, you can use an online tool, for example: http://json.dylansweb.com/

  4. Replace the JSON in the macro with the fixed JSON.

Related article