If you are on v1.0 or v1.1 , migrating to latest version will cause issues. This is because JSON Viewer latest version ( v 1.1.1 and above) has breaking changes to accomodate Server to Cloud Confluence migration
Install the latest version of JSON viewer for Confluence.
In case you see the "unknown macro" displayed on Page , perform the migration steps listed below
psql -f macro_update.sql <db-name>
As running the SQL query involves directly modifying the database, ensure you backup the database before making any changes.