You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found it confusing that after running sentry-cli login --global, the token in the ~/.sentryclirc embeds the org slug, and then if I try to run something like sentry-cli upload --org <org-id>, it complains about a mismatch between the token and the id, even though they both represent the same thing.
Two ideas I have are:
reduce slug/id to a canonical version before comparing, so you never try to compare a slug to an id, even if they're for the same org
we need a way to know if we're dealing with a slug or id, since they're both just strings, and our IDs don't have any standard prefix. this indicates to me that we should actually have separate cli parameters like --org-slug and --org-id instead of simply --org that can accept either.
The text was updated successfully, but these errors were encountered:
Description
I found it confusing that after running
sentry-cli login --global
, the token in the~/.sentryclirc
embeds the org slug, and then if I try to run something likesentry-cli upload --org <org-id>
, it complains about a mismatch between the token and the id, even though they both represent the same thing.Two ideas I have are:
--org-slug
and--org-id
instead of simply--org
that can accept either.The text was updated successfully, but these errors were encountered: