You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IBMCLOUD_TRACE=true ibmcloud login --vpc-cri -r us-south
API endpoint: https://cloud.ibm.com/
Authenticating...
REQUEST: [2022-06-30T14:28:30Z]
PUT /instance_identity/v1/token?version=2021-09-30 HTTP/1.1
Host: 169.254.169.254
Accept: application/json
Accept-Language: en-US
Accept-Language: en
Content-Type: application/json
Metadata-Flavor: ibm
User-Agent: IBM Cloud CLI 2.8.0 / linux
{"expires_in": 300}
RESPONSE: [2022-06-30T14:28:30Z] Elapsed: 38ms
HTTP/1.1 400 Bad Request
Content-Length: 205
Content-Type: application/json; charset=utf-8
Date: Thu, 30 Jun 2022 14:28:30 GMT
X-Request-Id: 182e21b1-9ce1-406b-bf1f-e29a61d7b898
{"errors":[{"code":"invalid_version_range","message":"The `version` value cannot be before `2022-03-01`.","target":{"name":"2021-09-30","type":"parameter"}}],"trace":"182e21b1-9ce1-406b-bf1f-e29a61d7b898"}
Error response from server. Status code: 400; message: {"errors":[{"code":"invalid_version_range","message":"The `version` value cannot be before `2022-03-01`.","target":{"name":"2021-09-30","type":"parameter"}}],"trace":"182e21b1-9ce1-406b-bf1f-e29a61d7b898"}
API endpoint: https://cloud.ibm.com/
Region:
Not logged in.
FAILED
Unable to authenticate.
Analysis ^ appears to be correct. CLI cannot specify any version of VPC Metadata API earlier than the GA date, per API requirement. Initial version is 2022-03-01. I recommend change to,
with latest CLI
Version should be updated in
ibm-cloud-cli-sdk/bluemix/authentication/vpc/vpc.go
Line 12 in 999913d
The text was updated successfully, but these errors were encountered: