"Legacy Works With Nest is being removed" - Adding service throws Error 500

I’m trying to add the Nest integration through the front end as I’m told that the old method wont work from 2023.08. Whenever I try though I get this message - “Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble”. Googling that error message only leads to issues with the SmartThings integration, not Nest. Anyone know of a fix?

@Nimdy Finally! A WORKING NEST Integration with Home Assistant using Oauth! - YouTube

I had to first remove the old integration, which is pretty standard, but then also remove the entry from core.config_entries. If you’re going to attempt to do the same, make sure you take a backup of the file first. It’s a JSON file and you want to search for: “domain”: “nest”