Warning message on scripts

Product: PowerShell Universal
Version: 2.5.1

Deployment: IIS
Auth: WS-Fed
Env: 7.1.5

Keep getting this error when running script

[warning] Failed to verify module and server version. Call failed with status code 400 (Bad Request): GET 

You’ll need to set the API\URL setting in appsettings.json in order to work around this. The problem happens when running behind a reverse proxy like IIS or ngnix. We’ll be resolve this issue in 2.6 where our cmdlets will support using internal RPC rather than only the REST API.

Thanks for the response that fixed my issue

1 Like