scaleway-cli
scaleway-cli copied to clipboard
"scw tem domain list" does not work
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 tem domain list
Expected Behavior
List of TEM domains printed
Actual Behavior
"Unknown service" error printed.
More info
$ scw version
Version 2.14.0
BuildDate 2023-04-03T11:45:57Z
GoVersion go1.19.7
GitBranch HEAD
GitCommit cb52f9d2
GoArch amd64
GoOS linux
$ cat /etc/redhat-release
AlmaLinux release 9.1 (Lime Lynx)
$ uname -srvmpio
Linux 5.14.0-162.22.2.el9_1.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Mar 27 07:34:40 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux
$ scw --debug tem domain list
running: [scw --debug tem domain list]
client: using request loggerclient: using sdk version v1.0.0-beta.7+devreading value from SCW_SECRET_KEYclient: using request loggerclient: using sdk version v1.0.0-beta.7+devclient: using request loggerclient: using sdk version v1.0.0-beta.7+devcreating GET request on https://api.scaleway.com/transactional-email/v1alpha1/regions/nl-ams/domains?page=1
--------------- Scaleway SDK REQUEST 1 : ---------------
GET /transactional-email/v1alpha1/regions/nl-ams/domains?page=1 HTTP/1.1
Host: api.scaleway.com
User-Agent: scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.7; linux; amd64) scaleway-cli/2.14.0
X-Auth-Token: 66300513-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Accept-Encoding: gzip
---------------------------------------------------------
--------------- Scaleway SDK RESPONSE 1 : ---------------
HTTP/2.0 501 Not Implemented
Content-Length: 29
Content-Security-Policy: default-src 'none'; frame-ancestors 'none'
Content-Type: application/json
Date: Fri, 28 Apr 2023 09:47:00 GMT
Server: Scaleway API-Gateway
Strict-Transport-Security: max-age=63072000
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Request-Id: 387d9c5f-cc94-422a-ab1d-56d4c36cf855
{"message":"unknown service"}
----------------------------------------------------------Unknown service
version was already checked during past 24 hours
Hi, it seems like your default region is nl-ams
, it should work with scw tem domain list region=fr-par
.
The error message should be clear about the issue. I'm working for a fix in sdk-go and CLI