I have a custom connector in power apps, which draws it's host address from an environmental variable called X. I am calling the variable (in the host field) with @environmentVariables("X"), but it does not seem to be carrying the value through to the api call.
If I hard code the value of X in the host address, the api call works just fine.
I've troubleshooted through the main documentation, tried re-publishing the connectors, and I'm just out of ideas what I can do to fix this.
Can anybody help?