title: Azure Artifacts - Universal Packages - Error: An unexpected error occurred while trying to push the package
body: <p>Devops folks,</p>
  
  <p>I am pushing the build pipeline output to Azure Artefacts - Universal packages for a full stack .net application. The application builds successfully and produces an output in <code>$(Build.ArtifactStagingDirectory)</code></p>
  
  <p>Would like to publish all these build outputs to UniversalPackages and let release pipeline take it over from there.</p>
  
  <p>I have checked for below things:</p>
  
  <p><strong>1.</strong> Permission - Project Collection Build Service - Contributor Role. </p>
  
  <p><strong>2.</strong> Task Configuration Confirmed below "UniversalPackages"</p>
  
  <pre><code> - task: UniversalPackages@0
      inputs:
        command: 'publish'
        publishDirectory: '$(Build.ArtifactStagingDirectory)/**/*.nupkg'
        feedsToUsePublish: 'internal'
        vstsFeedPublish: '123456fg-test-1234-1234-31161a66dc4d/b92b3313-ab41-4044-test-e94146618efb'
        vstsFeedPackagePublish: 'Text here-Services-Package'
        versionOption: 'minor'
        packagePublishDescription: 'Contains some text here)'
        verbosity: 'Trace'
  </code></pre>
  
  <p>sorry for YAML indenting issues,</p>
  
  <p>Below is the pipeline log</p>
  
  <pre><code>2020-04-04T02:36:03.9835393Z Publishing package: test, version: 0.0.1 using feed id: 76a3991f-e6fc-767b-a0dc-90e38c54e558, project: 7813b7e3-bbf1-4355-9263-31161a66dc4d 
  
  2020-04-04T02:36:04.0147395Z [command]D:\ABCAgent\_work\_tool\artifacttool\0.2.151\x64\ArtifactTool.exe universal publish --feed 76a3991f-e6fc-767b-a0dc-90e38c54e558 --service https://dev.azure.com/QWERTY/ --package-name test --package-version 0.0.1 --path D:\AzureAgentBuild\_work\1\a --patvar UNIVERSAL_PUBLISH_PAT --verbosity None --description "" --project 7813b7e3-bbf1-4355-9263-31161a66dc4d 
  
  2020-04-04T02:36:09.2875733Z {"@t":"2020-04-04T02:36:08.7883701Z","@m":"[GetDedupManifestArtifactClientAsync] Try 1/5, non-retryable exception caught. Throwing. Details:\r\nNo LastRequestResponse on exception VssServiceResponseException: Forbidden","@i":"b2d31574","@l":"Warning","@x":"Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException: Forbidden\r\n ​
  </code></pre>