You normally receive this message in the following format:
{ success: false, data: "", msg: "It looks like your current action is deactivated or it does not have any action function." }
It means that our plugin can’t find the “action” parameter while you send an action request to your website.
Apart from forgetting to define the action parameter, it can also have some other causes for this message to appear.
We will see the known ones below:
Caching plugins
In certain circumstances, caching plugins can prevent showing the latest data as they provide a cached version of it. This can be solved by simply clearing the plugin cache (specifically the object cache).
Security rules
If you’re using a Firewall, other server security features, or security plugins for WordPress, it might be possible that any of those can strip away the query parameter (e.g. ?action=your_action) from the URL for security reasons. You can verify that by checking your security logs for blocked URLs/Requests.
If this is the case, it can be solved by whitelisting the URL parameters for WP Webhooks.
Wong data format
It is important that the action is defined within the query string of the URL. Here is an example that shows how the action parameter should look like:
If it’s the first argument in the URLhttps://yourdomain.test/?action=your_actionIf it’s on any other position within the URL
https://yourdomain.test/?argument1=test&action=your_action