Need to regenerate public API token

When I run the dev console (npm run dev), I get the following error relating to the public api token, despite using the one under ‘Code’:
Error: Error fetching loader data, a redirect was expected: Project ID and/or tokens are incorrect (and/or user has insufficient permissions)
I’ve checked the Project ID and the API token in plasmic-init.ts and they match my project. So, I’m trying the regenerate the public API token because (according to MS Co-pilot) “the token I’m using might not have been generated from my current account [my email address], or it might be outdated.”

Relevant links: