The configuration data is not valid

The configuration data is not valid

This content is archived.
Outdated Info

Problem

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

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 using the “Page history” feature in Confluence.

A more complex fix for the issue

An admin user should find the space called “Communardo Products” with the key “COMMUNARDOPRODUCTS”. Inside it, there 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 ensures it will work correctly and reduces its 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