Closed
Description
Right now, an API token can fail for a number of reasons, most of which produce an "invalid macaroon signature" exception.
Common issues that could use more detailed error messages:
- the API token is scoped for a different project than it's being used for
- the API token is malformed and cannot be deserialized
- the API token doesn't begin with
pypi-
- (probably more)