New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 Error on retrieving organizations #29
Comments
Hello, |
Can you provide a snippet? It's working fine for me. from scaleway.apis import AccountAPI, ComputeAPI
import sys
token = sys.argv[1]
api = AccountAPI(auth_token=token)
data = api.query().organizations.get()
assert 'organizations' in data
cp_api = ComputeAPI(auth_token=token)
data = cp_api.query().servers.get()
assert 'servers' in data |
For me it was a bug on my side, sorry. Anyway, don't you think the SDK should be updated to use the new endpoint? The API documentations recommends to not use old enpoints. |
I am no longer working at Scaleway, but I imagine it would indeed be better to use the new endpoints. On the other hand, I also imagine they won't break backward compatibility as some opensource projects will still use the old URLs (cloud-init, docker, ...). |
If you don't work at Scaleway anymore, does anyone maintain this project? |
URL endpoints wille be updated there #32 |
The first example of the readme
api.query().organizations.get()
fails with error 404:{"message": "The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.", "type": "404"}
The text was updated successfully, but these errors were encountered: