PowerShell / PowerShellGallery

228 stars 65 forks source link

Cannot publish module and login to PowerShellGallery account 500 (Internal Server Error) #131

Closed cblalexv closed 4 years ago

cblalexv commented 4 years ago

STR:

Cannot publish my module

  1. Try to publish module with the following command.
    Publish-Module -Name module -NuGetApiKey $NuGetApiKey -Force
  2. The command fails with the following error.
    Publish-PSArtifactUtility : Failed to publish module 'module': 'nuget.exe failed to push Response status code does not indicate success: 500 (Internal Server Error).
    '.
    At C:\Users\alex.v\Documents\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:10990 char:17
    + ...             Publish-PSArtifactUtility @PublishPSArtifactUtility_Param ...
    +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : FailedToPublishTheModule,Publish-PSArtifactUtility

Cannot login to PowerShellGallery account

  1. Use Microsoft account credentials.
  2. Get the following error message.

image

paddycull commented 4 years ago

I'm experiencing the exact same issue.

cblalexv commented 4 years ago

It seems, it was fixed.