<p>I have upgraded my Nexus from <code>3.29.0</code> to <code>3.58.1</code> via Terraform using Helm Kubernetes cluster and I am getting the following error now:</p>
<pre><code>[2023-08-14T08:05:46.935Z] C:\Users\Deployer\workspace\MyApp\MyApp.View.Test.csproj : error NU1301: Failed to retrieve information about 'Microsoft.NET.Test.Sdk' from remote source 'https://mynexus.com/repository/nuget-group/FindPackagesById()?id='Microsoft.NET.Test.Sdk'&amp;semVerLevel=2.0.0'. [C:\Users\Deployer\workspace\MyApp\myapp.sln]
</code></pre>
<p>I didn't change anything on any of the nuget-repository, nuget-group and nuget-proxy.</p>
<p>Why am I getting this error? How to fix it?</p>

Abdullah Khawer
<p>I fixed this by changing the <code>Protocol Version</code> for <code>nuget-proxy</code> to <code>NuGet V2</code>. It got set to <code>NuGet V3</code> after the Nexus upgrade.</p>
<p>Reference Screenshot below:</p>
<p><a href="https://i.stack.imgur.com/tFvfz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tFvfz.png" alt="enter image description here" /></a></p>
<p>In your Terraform code, if you're using <code>nexus_repository_nuget_proxy</code> then change your code as follows:</p>
<pre><code>resource &quot;nexus_repository_nuget_proxy&quot; &quot;nuget_proxy&quot; {
...
  query_cache_item_max_age = 1440
  nuget_version            = &quot;V2&quot;
...
}
</code></pre>
<p>In your Terraform code, if you're using <code>nexus_repository</code> then change your code as follows:</p>
<pre><code>resource &quot;nexus_repository&quot; &quot;nuget_proxy&quot; {
...
  nuget_proxy {
    query_cache_item_max_age = 1440
    nuget_version            = &quot;V2&quot;
  }
...
}
</code></pre>
