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 Client Error: The user '' isn't allowed to upload to project 'iotedgedev'. #4607

Closed
jongio opened this Issue Aug 23, 2018 · 7 comments

Comments

Projects
None yet
2 participants
@jongio

jongio commented Aug 23, 2018

Describe the bug
Trying to upload via twine. New project. Not registered, but getting this:

HTTPError: 403 Client Error: The user '' isn't allowed to upload to project 'iotedgedev'. See https://test.pypi.org/help/#project-name for more information. for url: https://test.pypi.org/legacy/
This is a 404: https://test.pypi.org/project/iotedgedev/

My code works if I change the package name...but would like to not do that.

Expected behavior
Uploads the package

To Reproduce

Try to upload to that project.

My Platform
using git bash

Additional context

@ewdurbin

This comment has been minimized.

Member

ewdurbin commented Aug 23, 2018

Hello @jongio this project name has already been registered on test.pypi.org and pypi.org.

The users have uploaded releases to PyPI at https://pypi.org/p/iotedgedev, but do not appear to have created any releases on Test PyPI.

As the project name is taken and appears to be an active project it seems selecting another name is your best path forward.

@ewdurbin ewdurbin closed this Aug 23, 2018

@jongio

This comment has been minimized.

jongio commented Aug 23, 2018

@ewdurbin There is something fishy going on because the project should be registered to my account. I would like to research who created the project because it is likely me or someone on my team. Can you help me track this down? I am the one who released to pypi proper.

@ewdurbin

This comment has been minimized.

Member

ewdurbin commented Aug 23, 2018

Test PyPI and PyPI are completely isolated from one another. Can you confirm that you want to be uploading to TestPyPI?

Taking a closer look, it sure does appear that you're one of the owners on the real PyPI!

@jongio

This comment has been minimized.

jongio commented Aug 23, 2018

Yes, I want to upload the same name to both test and prod pypi, otherwise I would need lots of name replacements through my code and scripts.

Can you add me to that test project or let me know who created it?

Thanks a lot.

@ewdurbin

This comment has been minimized.

Member

ewdurbin commented Aug 23, 2018

@jongio the existing project with no releases has been removed. you can now register it using your TestPyPI user

@jongio

This comment has been minimized.

jongio commented Aug 23, 2018

@ewdurbin - I retried and get this error:

HTTPError: 400 Client Error: This filename has already been used, use a different version. See https://test.pypi.org/help/#file-name-reuse for url: https://test.pypi.org/legacy/

@jongio

This comment has been minimized.

jongio commented Aug 23, 2018

I repushed with a different version in the file name and it worked! Not sure why the other name would have a conflict if there were no releases.

I'm now uploading! Thanks a lot for your help. REALLY appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment