Skip to content

GitHub Actions to push to Azure Artifacts: Unable to load the service index for source ' 'Response status code does not indicate success: 401 (Unauthorized) #138

@benyusouf

Description

@benyusouf

I wanted to create a Github workflow that push feed to Azure Artifacts. I carefully followed the article here and the tutorial here. However, I keep getting this error

error: Unable to load the service index for source https://pkgs.dev.azure.com/<org>/<proj>/_packaging/<proj>/nuget/v3/index.json. error: Response status code does not indicate success: 401 (Unauthorized).

I created a PAT for all accessible organizations, granted it full access and added it in my Github Action secrets just the docs says but the persists. Does anyone have idea what could be wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions