“DMSI DDLS is required” Error on Activation #
DMSI Advanced API is an extension that requires DMSI DDLS (Digital Downloads License System) to be installed and active. If DDLS is missing or deactivated, the plugin will not activate.
Resolution: Install and activate the DMSI DDLS plugin before activating DMSI Advanced API.
JWT Key Generation Fails #
On first activation, the plugin generates an RSA key pair for JWT signing using the PHP openssl extension.
Resolution: Ensure the openssl PHP extension is enabled on your server. Contact your host if the extension is unavailable.
/api/playground/ Returns 404 #
The API Playground is served as a WordPress page. If the permalink is not recognized after plugin activation, the rewrite rules may need to be flushed.
Resolution: In the WordPress admin, go to Settings > Permalinks and click Save Changes. This flushes the rewrite rules cache without changing any settings.
API Returns 403 on HTTP Requests #
In production environment mode, HTTPS is enforced. HTTP requests are rejected with a 403 https_required error.
Resolution options:
- Use HTTPS URLs for all API requests.
- For local development: set the environment to
developmentby runningupdate_option('dmsi_aapi_environment', 'development')or configuringenvironment.php.
