Package Manager Error: Unable to Retrieve Asset Store Package Updates (404 Not Found)

Each time I open the Package Manager Window to check the latest versions of Asset Store packages, I encounter the following log:

[Package Manager Window] Error while getting product update details: 404 Not Found. Something went wrong. Please try again later. [Error 404]
UnityEditor.AsyncHTTPClient:Done (UnityEditor.AsyncHTTPClient/State,int)

After investigating, I found that when requesting the following URL using curl:

https://packages-v2.unity.cn/-/api/product-update-info?productIds=239351,129127,47200,218017,247926,276575,218348,218364,218367,219767,221515,224030,227758,229307,198858,287785,27676,65554,177877,157729,68436,170794,240197,275893,225546,292434,229717,154271,233073,202502

I received the response:

HTTP/1.1 404 Not Found.

However, when I send the same request to this URL using curl:

https://packages-v2.unity.com/-/api/product-update-info?productIds=239351,129127,47200,218017,247926,276575,218348,218364,218367,219767,221515,224030,227758,229307,198858,287785,27676,65554,177877,157729,68436,170794,240197,275893,225546,292434,229717,154271,233073,202502

I get the response:

HTTP/1.1 401 Unauthorized

(This is expected because I did not include the Authorization parameter in the request.)

It looks like https://packages-v2.unity.cn might have been deprecated, and the correct server is https://packages-v2.unity.com. How should I resolve this issue?

Unity Editor version: 2023.2.20f1
Location: Mainland China

Hello,

You can manually retrieve package details using curl on the .com endpoint with appropriate authorization tokens. To generate the token:

Log in to Unity Hub.
Use a tool like Postman or browser developer tools to capture an authorized request and extract the token.
Append the token to your curl requests.

EdFinancial com

Thank you for your explanation. However, my concern is that while https://packages-v2.unity.com works as expected, https://packages-v2.unity.cn is currently unavailable. Since my editor uses https://packages-v2.unity.cn to fetch the latest package versions, this seems to be causing the issue.