cli icon indicating copy to clipboard operation
cli copied to clipboard

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

Open darach opened this issue 1 year ago • 1 comments

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

darach avatar Mar 12 '24 21:03 darach

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

lukasmalkmus avatar Mar 13 '24 10:03 lukasmalkmus