PyPI deployments : Invalid or non-existent authentication information


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

HTTPError: 403 Forbidden from

Invalid or non-existent authentication information. See 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.