PyPI deployments : Invalid or non-existent authentication information

Hello,

I am trying to setup travis to automatically deploy to PyPI. Nothing I tried seem to work so far. My travis config is avialble here

https://travis-ci.org/github/epiviz/epivizFileServer/jobs/713292307/config

HTTPError: 403 Forbidden from https://upload.pypi.org/legacy/

Invalid or non-existent authentication information. See https://pypi.org/help/#invalid-auth for more information.

PyPI upload failed.

I used travis cli to setup the secure password

travis encrypt --org -r epiviz/epivizFileServer <API KEY> --add deploy.password

I have no idea whats going on. Any help is appreciated!

Thank you!

Most likely explanation is that your key was encrypted incorrectly. Bear in mind that, if it contains special bash characters, for example, escapes and quotes may have been performed incorrectly. You can try specifying the password via STDIN instead by omitting the API key in the command invocation.