Troubleshooting
buildPkg fails with “requires -Ppkg={name}”`
Run the task with a package code:
bash
gradle clean buildPkg -Ppkg=iflowkit-emailCompilation fails due to Groovy or Java version mismatch
Confirm that your environment can use Java 17 and that the build uses the configured CPI-compatible Groovy compiler.
bash
java -version
gradle -versionClass not found at runtime in CPI
Check that the class belongs to the package, a declared plugin, or a declared system service. The package build includes only what the manifest declares.
Plugin parameters are not applied
Verify that the plugin ID in the package manifest matches the plugin manifest ID exactly.
Example:
text
com.iflowkit.plugin.emailHTTP calls fail after payload generation
Separate payload generation from transport execution while debugging. Validate:
- endpoint base URL
- tenant environment
- credential mapping
- generated payload
- CPI adapter configuration
Secrets were accidentally committed
- Remove the secret from the repository.
- Rotate the exposed credential.
- Review commit history and access logs.
- Add
.gitignorerules to prevent recurrence.