vscode-restclient
vscode-restclient copied to clipboard
Cannot read properties of undefined (reading 'includes') for GET with query string
- REST Client Version: 0.25.1
- VSCode Version: 1.8.82
- OS Version: Windows 11
The following GET request produces "Cannot read properties of undefined (reading 'includes')
GET https://my.server.com/oauth2/v1/authorize ?client_id=myclientid &client_secret=myclientsecret &response_type=code &scope=email%20%openid &state=thisismystate &redirect_uri=this.is.my.redirect.uri
If I remove the redirect_uri the request goes through.
I think I've found the issue. I forgot the protocol portion of the URI like https://. Leaving this open in case you would like to improve the error message.