"The file received was not valid" error while importing a new VPP token

howie_isaacks
Valued Contributor

I am attempting to import a new VPP token that I have downloaded from Apple business manager. Every time I try to do this, I get an error saying "The file received was not valid". I have tired using a different web browser. I have rebooted Jamf Pro, and I rebooted the entire Ubuntu server VM. The Jamf Pro server log does show an error at the time I attempted to import the token. I have an open case with Jamf for this, but if anyone knows how to solve this, that would be wonderful 😊
7b58cd711ff7429789ebb3c2bb09c0e1

1 ACCEPTED SOLUTION

howie_isaacks
Valued Contributor

Jamf support asked me to try importing using a private browser window. That did it for me.

View solution in original post

8 REPLIES 8

chris_hansen
Contributor

Maybe it does not like the two dots in the filename. Try renaming to remove just one dot.

howie_isaacks
Valued Contributor

@chris.hansen Good idea, but that did not solve the issue. Thanks for your help! None of my other Jamf Pro servers need a VPP renewal, so I haven't tried this on another server.

hodgesji
Contributor

I'm also getting this with my ADE token upload today. Renaming the file did not resolve it, but after I downloaded the Public Key from ASM and reuploaded to jamf, I was able to upload the ADE token successfully.

howie_isaacks
Valued Contributor

Jamf support asked me to try importing using a private browser window. That did it for me.

View solution in original post

tech2020
New Contributor II

I encountered this error today. Downloading our JSS DEP Public key, Uploading it to Apple School Manager, Downloading a new DEP Token from Apple School Manager, Uploading it our JSS DEP resolved it.

Thanks - this worked for me today as well.

Worked for me too, cheers.

brettw
New Contributor II

Downloading our JSS ADE Public key from Jamf, uploading it to ASM and then re-downloading the server token is what was needed for us. A private browser wasn't necessary in our case.