Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPError: 403 Forbidden, Invalid or non-existent authentication information #804

Closed
IVN-tone opened this issue Aug 30, 2021 · 6 comments
Closed

Comments

@IVN-tone
Copy link

Your Environment

  1. Your operating system:

Windows 10

  1. Version of python you are running:
python --3.7.4
  1. How did you install twine? Did you use your operating system's package manager or pip or something else?

pip

  1. Version of twine you have installed (include complete output of):
twine --3.4.2
  1. Which package repository are you targeting?

I have the problem with uploading distribution packages.

The Issue

I'm following the guidelines on creating my own package (https://packaging.python.org/tutorials/packaging-projects/), I created API token (s):

Screenshot_4

and next, according to the guidelines, tried to upload it by the following command:

python -m twine upload --repository testpypi dist/*,

each time I have the following error:

error

I also tried to use my test.pypi account name - no effect (in case you ask me about username).

Steps to Reproduce

python -m twine upload --repository testpypi dist/*

@sigmavirus24
Copy link
Member

Sounds like this may be, yet another, duplicate of #671

@sigmavirus24
Copy link
Member

I can't introspect that image and so I can't read the text. If you can copy-paste the actual text into the issue that would make this both searchable and accessible for folks who can't see what's in images that well

@IVN-tone
Copy link
Author

I can't introspect that image and so I can't read the text. If you can copy-paste the actual text into the issue that would make this both searchable and accessible for folks who can't see what's in images that well

My images just to show that I've created tokens (first image) and launched the command (second image):

python -m twine upload --repository testpypi dist/*

@IVN-tone
Copy link
Author

IVN-tone commented Aug 31, 2021

Sounds like this may be, yet another, duplicate of #671

Yes, it is exactly the same problem, but what is the solution for it?

@bhrutledge
Copy link
Contributor

When reporting issues, screenshots can be useful, but often it's more helpful if you copy and paste the output text, usually in a Markdown code block. That's often more readable, and searchable.

I see that you commented on #671 (comment). I'm going to close this issue, and follow-up there.

@IVN-tone
Copy link
Author

When reporting issues, screenshots can be useful, but often it's more helpful if you copy and paste the output text, usually in a Markdown code block. That's often more readable, and searchable.

I see that you commented on #671 (comment). I'm going to close this issue, and follow-up there.

@bhrutledge ok, but you also closed the issue #671 and still no solution for the current problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants