500 error after changing site ID

Getting 500 error after changing site ID via Bitnami GUI for the WordPress multisite. Changed primary site id to '4'.

On checking the site ID, under wp_blogs, and wp_site, the site ID seems to be correct, and is pointing to site ID 1. But the 500 error isn't resolved.

Please check the chat transcript for more info.