Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Could not create nuget feed using API

    Scheduled Pinned Locked Moved Support
    5 Posts 2 Posters 12 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      shenghong.pan_2297
      last edited by

      Hello,

      I was trying to create a NuGet feed by calling /api/management/feeds/create.

      The error is:

      Specified argument was out of the range of valid values.
      Parameter name: code

      11e50e8d-6117-4ea0-b3d5-027a81a23cb8-image.png

      ProGet Version: 5.8.4

      Would you please share a solution to do this using API?

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @shenghong.pan_2297
        last edited by

        Hi @shenghong-pan_2297 ,

        What version of ProGet are you using? There is no ProGet 5.8 :)

        I tested this in ProGet 2023 and there's no issues

        Alana

        1 Reply Last reply Reply Quote 0
        • S Offline
          shenghong.pan_2297
          last edited by shenghong.pan_2297

          My bad. The ProGet version is 5.2.8. -Sheng

          atrippA 1 Reply Last reply Reply Quote 0
          • atrippA Offline
            atripp inedo-engineer @shenghong.pan_2297
            last edited by

            @shenghong-pan_2297 that's a really old version of ProGet

            I looked here to see all the changes:
            https://my.inedo.com/downloads/issues?Product=ProGet&FromVersion=5.2.8&Count=all

            I CTRL-F'd for API and found this:
            PG-1594 5.2.13 FIX: Feed Management API fails to handle feed type codes correctly

            I guess that's it?

            Anyway I would upgrade and hopefully the issue goes away. Note that we're 4 major versions later (5.3 > 6.0 > 2022 > 2023), so you're pretty far behind ;)

            1 Reply Last reply Reply Quote 0
            • S Offline
              shenghong.pan_2297
              last edited by

              @atripp Thanks. We'll update our ProGet server

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation