Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Command attempted
scw --profile=me instance image list project-id=<redacted> organization-id=<redacted> zone=fr-par-2
Using --debug I saw what I think is the source of the problem
client: using request logger
client: using sdk version v1.0.0-beta.35.0.20251002202252-ab1363c81acf
client: using request logger
client: using sdk version v1.0.0-beta.35.0.20251002202252-ab1363c81acf
client: using request logger
client: using sdk version v1.0.0-beta.35.0.20251002202252-ab1363c81acf
creating GET request on https://api.scaleway.com/instance/v1/zones/fr-par-1/images?organization=<redacted>&page=1&project=<redacted>&public=false
---------- Scaleway SDK REQUEST 1 (7da4e892) : ----------
GET /instance/v1/zones/fr-par-1/images?organization=<redacted>&page=1&project=<redacted>&public=false HTTP/1.1
Host: api.scaleway.com
User-Agent: scaleway-sdk-go/v1.0.0-beta.35.0.20251002202252-ab1363c81acf (go1.25.1; linux; amd64) scaleway-cli/2.44.0
X-Auth-Token: <redacted>
Accept-Encoding: gzip
---------------------------------------------------------
---------- Scaleway SDK RESPONSE 1 (7da4e892) : ----------
HTTP/2.0 200 OK
Content-Length: 14
Content-Security-Policy: default-src 'none'; frame-ancestors 'none'
Content-Type: application/json
Date: Thu, 05 Feb 2026 14:50:42 GMT
Link: </images?page=0&per_page=50&organization=<redacted>&project=<redacted>&public=false>; rel="last"
Server: Scaleway API Gateway (fr-par-3;edge03)
Strict-Transport-Security: max-age=63072000
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Request-Id: <redacted>
X-Total-Count: 0
{"images": []}
----------------------------------------------------------
[]
version was already checked during past 24 hours
Note the line
creating GET request on https://api.scaleway.com/instance/v1/zones/fr-par-1/images?organization=<redacted>&page=1&project=<redacted>&public=false
Expected Behavior
I should have the list of instances images for the zone fr-par-2 that should take precedence over everything.
Actual Behavior
I have an empty list, and we don't have any image on fr-par-1.
More info
$ scw version
Version 2.44.0
BuildDate 2025-10-06T09:58:06Z
GoVersion go1.25.1
GitBranch HEAD
GitCommit 2cb1dc81
GoArch amd64
GoOS linux
UserAgentPrefix scaleway-cli
Note that if I do
export SCW_DEFAULT_ZONE=fr-par-2;
before my command, the output is what I expect.
Before running the command, no other env var messed up my config
My profile me has a default_zone: fr-par-1 in the scw/config.yaml file
Community Note
Command attempted
Using
--debugI saw what I think is the source of the problemNote the line
Expected Behavior
I should have the list of instances images for the zone
fr-par-2that should take precedence over everything.Actual Behavior
I have an empty list, and we don't have any image on
fr-par-1.More info
Note that if I do
before my command, the output is what I expect.
Before running the command, no other env var messed up my config
$ env | grep SCW $My profile
mehas adefault_zone: fr-par-1in thescw/config.yamlfile