axiomhq / cli

The power of Axiom on the command line.
https://axiom.co
MIT License
42 stars 11 forks source link

Incorrect error with `axiom dataset list` for bad deployment alias #215

Open darach opened 6 months ago

darach commented 6 months ago

When using an alias to that is no longer valid the axiom dataset list command returns an error of the form:

$ AXIOM_DEPLOYMENT=bogus-no-longer-valid-env axiom dataset list
Error: cannot decode response with unknown content type

This can be cross-checked with axiom auth status which will show valid and non-valid auth tokens by alias

lukasmalkmus commented 6 months ago

What does is no longer valid mean in this context? It doesn't exist in the ~/.axiom.toml?