How to fix nuget package error 404 for artifact creation

Leonard Zuluaga 0 Reputation points
2024-05-09T10:37:38.6433333+00:00

##[error]The nuget command failed with exit code(1) and error(Unable to load the service index for source https://pkgs.dev.azure.com/leonardaz/Space%20Game%20-%20web%20-%20Dependencies/_packaging/Tailspin.SpaceGame.Web.Models/nuget/v3/index.json.

Response status code does not indicate success: 404 (Not Found - The feed with ID 'Tailspin.SpaceGame.Web.Models' doesn't exist. (DevOps Activity ID: 840AEBD3-CFB6-42EC-B72A-5C3258F6293C)).)

##[error]Packages failed to publish

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,016 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AmaranS 2,675 Reputation points Microsoft Vendor
    2024-05-09T12:02:23.6133333+00:00

    Hi Leonard Zuluaga,

    Thanks for reaching out to us on Microsoft Q&A forum.

    Does the Entity Framework Core you mentioned refer to this Nuget package? I can install it in Visual Studio, can you provide more information?

    • Update: What package source did you choose? Did you choose nuget.org? Please make sure you have selected the correct package source, you can upload a screenshot of the nuget solution manager. 127772-image.png
    • Update:

    If your Visual Studio package source does not have nuget.org, you can try to add it to the package source. Name: nuget.org Source: https://api.nuget.org/v3/index.json 128212-image.png

    Additionally, Reference Link:https://learn.microsoft.com/en-us/nuget/consume-packages/package-restore-troubleshooting

    https://www.azuredevopslabs.com/labs/azuredevops/packagemanagement/

    If the information is helpful, please accept the answer by clicking the "Accept Answer" and upvote on the post. If you are still facing any issue, please let us know in the comments. We are glad to help you.Thank you.