Issue pushing package to internal octopack feed

I’m getting an error when pushing to the octopus feed. It looks like the apikey is not being passed correctly.
Am I missing something obvious?

From the build logs (<param> changes are intentional)

"C:\<projPath>\packages\OctoPack.3.0.71\tools\NuGet.exe" push "C:\<projPath>\obj\octopacked\<packagename>.nupkg" <API-OurApiKey> -s http://<octserver>/api/packages/raw
         Pushing <packagename> 1.1.0.0 to 'http://<octserver>/api/packages/raw
         '...
         Please provide credentials for: http://<octserver>/api/packages/raw
         Object reference not set to an instance of an object.
         UserName: Password:

Hi Scott,

Thanks for reaching out. The URL should be /nuget/packages instead of /api/packages/raw.

I̶f̶ ̶p̶o̶s̶s̶i̶b̶l̶e̶ ̶t̶o̶ ̶a̶v̶o̶i̶d̶ ̶e̶r̶r̶o̶r̶s̶,̶ ̶t̶r̶y̶ ̶t̶o̶ ̶p̶a̶s̶s̶ ̶t̶h̶e̶ ̶f̶u̶l̶l̶ ̶A̶P̶I̶ ̶k̶e̶y̶ ̶p̶a̶r̶a̶m̶e̶t̶e̶r̶ ̶u̶s̶i̶n̶g̶ ̶̶-̶A̶p̶i̶K̶e̶y̶̶ ̶t̶o̶o̶.̶

Edit: Sorry, just noticed you are running this from Octopack where you cant control the command :). The URL tip still applies!

Let me know if that works,
Dalmiro

Hi Dalmiro,

Thanks for that, changing the url worked.