Cannot overwrite variable Host because it is read-only or constant
What causes it and how to fix it:
- $host is a constant — and [uri].Host is exactly what you want to store in itThe obvious name for [uri].Host is reserved and the error blames the value; $input/$args accept the assignment silently and break laterCause and fix →