function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
HealthDetail DevelopmentHealthDetail Development 

Managed Package Upload Fails Due to Permission Set

Code coverage in our Developer org is 89%. Uploaded package today and uploads fine. When we add a Custom SystemAdmin Permission set, upload fails with 5% coverage. Any ideas why that might be or how to troubleshoot?
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi MemberOne,

Remove the access to the custom permissions from the permission set, upload a new version, and install the new version.

https://success.salesforce.com/issues_view?id=a1p300000008Y9hAAE

I hope it will be helpful.

Best Regards
Rahul Kumar
HealthDetail DevelopmentHealthDetail Development
Unfortunately no because we don't have any Custom Permissions in this permission set.