Skip to content

Account "wong2kim" receiving 403 error when attempting to push packages - Push permission not activated #394

@openwong2kim

Description

@openwong2kim

Checklist

  • I confirm there are no unresolved issues reported on the Chocolatey Status page.
  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.
  • I confirm I am using official, and not unofficial, or modified, Chocolatey products.

What You Are Seeing?

Problem Description

My Chocolatey Community Repository account wong2kim is receiving a 403 Forbidden error when attempting to push packages to the community repository.

Account Details

Steps to Reproduce

  1. Run choco apikey --key <API_KEY> --source https://push.chocolatey.org/
    1. Run choco push MyPackage.nupkg --source https://push.chocolatey.org/
    1. Receive 403 Forbidden error

Expected Behavior

Package should be successfully pushed to the Chocolatey Community Repository.

Actual Behavior

403 Forbidden error is returned. It appears that push permissions have not been activated for this account yet.

Request

Could you please verify and activate the push permissions for the account wong2kim? The API key is present in the account settings, but the push privilege does not appear to be enabled.

Thank you.

What is Expected?

The choco push command should succeed with a 200 OK response, and the package should be uploaded to the Chocolatey Community Repository without any 403 Forbidden errors. Push permissions should be activated for the account wong2kim.

How Did You Get This To Happen?

a1. Created an account on community.chocolatey.org with the username wong2kim
2. Obtained the API key from the account settings page
3. 3. Configured the API key: choco apikey --key <API_KEY> --source https://push.chocolatey.org/
4. 4. Attempted to push a package: choco push MyPackage.nupkg --source https://push.chocolatey.org/
5. 5. Received 403 Forbidden error - push permission appears to not be activated for this account

User Story

As a Chocolatey Community Repository user (wong2kim), I want to be able to push packages to the repository using the choco push command, so that I can contribute and share packages with the community.

System Details

  • Operating System: Windows 10
    • Windows PowerShell version: 5.1
      • Chocolatey CLI Version: Latest
        • Chocolatey Licensed Extension version: N/A
          • Chocolatey License type: Community (Free)
            • Terminal/Emulator: Windows PowerShell

Installed Packages

N/A - This issue is related to account push permissions, not package installation.

Output Log

Error output when running `choco push`:


Pushing MyPackage.nupkg to 'https://push.chocolatey.org/'...
  MyPackage 1.0.0 was pushed successfully to 'https://push.chocolatey.org/'
  Response status code does not indicate success: 403 (Forbidden).


The 403 Forbidden error indicates that the account **wong2kim** does not have push permissions activated on the Chocolatey Community Repository.

Additional Context

No response

Acceptance Criteria

a- [ ] The account wong2kim is granted push permissions on the Chocolatey Community Repository

  • Running choco push MyPackage.nupkg --source https://push.chocolatey.org/ no longer returns a 403 Forbidden error
  • - [ ] Package is successfully uploaded and visible in the community repository

Related Issues

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - Waiting on UserInsufficient information for issue or PR, issue may be closed if no response from user.BugIssues where something has happened which was not expected or intended.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions