Invalid JSON error when attempting to install a specific package

I am attempting to install UHFPS for Unity 6000.0.23f, but every time I try to install the package, I get this error:
[Package Manager Window] Invalid JSON UnityEditor.AsyncHTTPClient:Done (UnityEditor.AsyncHTTPClient/State,int)

This has been driving me crazy and I was told by the support team for the package that it was a Unity error. Any help would be appreciated.

Deleting the package cache location sometimes helps with these sort of errors. If it‘s a store asset, delete that (other location, see manual) and redownload it.

Okay, I mistyped I guess, but I meant to say when I try to download the package, it gives me the error. I didn’t know how to share screenshots either but I figured it out…

So this is right after I click the download button. Note the little red warning icon, and the hover text says to check the console.

The Console states the time of the error and then the actual error:

[Package Manager Window] Invalid JSON
UnityEditor.AsyncHTTPClient:Done (UnityEditor.AsyncHTTPClient/State,int)

I cleared out the cache folder and still no luck sadly…

Just to be sure, you deleted this folder:

Since this is a UAS asset that’s the location. There may be a temporary or incomplete download.

Can you download other store assets to the project? If not, perhaps disk is full or there’s a permission issue. Sometimes a virus scanner may interfere although it shouldn’t respond to .unitypackage (zip) files.

Also try creating a new, empty project and try downloading it there.

I did clear out that cache folder, and I can download and install other packages to the project. It just is this asset that won’t download. I also have created multiple projects on the 6000.0.x versions and they all have not worked yet sadly. I even tried to create one on 2022 LTS and just download the package, but no luck…

figured it out, i needed to change my package cache location.

edit > preferences > package manager

and then i changed them from the default locations to a folder in my D:\ drive.
hope this helps others

Hey! I had a similar issue, my electricity went out while downloading a package from the asset store and when I tried re-downloading, I got the same error:

[Package Manager Window] Invalid JSON
UnityEditor.AsyncHTTPClient:Done (UnityEditor.AsyncHTTPClient/State,int)

Just in case it’s useful to someone in the future, @CodeSmile 's solution worked for me, but instead of deleting the cache in

C:\Users\accountName\AppData\Roaming\Unity\Asset Store

I went to the Asset Store 5.x folder where you can find each Studio’s assets, and there I could find a file on the package I tried to download, I deleted it and done!