Symptoms

When attempting to use an API function via API Token, we are seeing the following error occur:

500 Security Policy requires exec termination.

 

Description

This issue occurs when the option "Limit logins to verified IP addresses" is enabled via WHM's "Home / Security Center / Configure Security Policies" module.

We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-49647. Follow this article to receive an email notification when a solution is published in the product. 

 

Workaround

Disable “Limit logins to verified IP addresses” via WHM's "Home / Security Center / Configure Security Policies" module.