---
title: "Error on Apex Trigger with CPQ Enabled"
canonical: "https://support.appfire.com/space/477986818/2559842363/Error%20on%20Apex%20Trigger%20with%20CPQ%20Enabled"
format: markdown
---
Summary When deploying an Apex trigger from sandbox to production, an error similar to the following appears: Code Coverage Failure Environment JIRA Server Diagnostics Steps Not applicable. Cause This may be due to CPQ's package trigger being enabled. Workaround Not applicable. Resolution There is an option in the CPQ managed package to disable the triggers. Try to disable the triggers in Salesforce's sandbox and run the test class again. You can do so with these steps: Click  Setup  >  Installed Packages  >  Salesforce CPQ . Then click  Configure  >  Additional Settings  >  Triggers Disabled . Note: You may have to log out and log back in.