500 Error on Dynamic Next.js route

Ive tried, unsuccessfully to add the var suggested here

netlify env:set __NEXT_PRIVATE_PREBUNDLED_REACT next

nothing happens when setting from the CLI, and the UI says vars need to start with a letter.

has anyone solved this another way?