Every deploy fails with "Failed: an internal error occurred."

Every deploy attempt fails with the following message:

Failed: an internal error occurred. If this continues, contact support: .

It’s a new project (both as a repo and as a cloudflare page). Stack is sveltekit with typescript. Let me know if any additional information is needed. I’ve added env variables, 4 of them.

Logs:
|11:58:17.884|Cloning repository…|

|11:58:18.830|Using v2 root directory strategy|
|11:58:18.852|Success: Finished cloning repository files|
|11:58:20.418|Checking for configuration in a wrangler.toml configuration file (BETA)|
|11:58:20.418||
|11:58:20.503|No wrangler.toml file found. Continuing.|
|11:58:21.348|Failed: an internal error occurred. If this continues, contact support:

I removed the links because i got blocked from posting as a new user

Seems like you have an environment variable with a bad name, can you ensure there’s no special characters in there? It’s possible if you pasted the name from somewhere a tab, space or zero-width-space slipped in.