-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
Alexander Saal edited this page Aug 4, 2025
·
1 revision
Even with a simple setup, small mistakes in structure, naming, or usage can lead to errors. This section lists common issues developers encounter when working with the SDK — and how to fix them.
Requested script can not be found
- The endpoint you called, e.g. index.php, does not exist
- The application directory name in the URL doesn't match any actual folder.
- The SDK is not installed in the same directory as the application.
Custom application script <app-folder>/<endpoint> does not implement a closure
- The endpoint you called, e.g. index.php, does not implement a closure
No route found for GET http(s)://[jobrouter-url]/custom_applications/<app-folder>/<endpoint>
- The correct URL path is
/custom-applications/
(with a dash), not an underscore.
Custom application "<app-folder>/<endpoint>" has unresolvable type for parameter $myInterface
- You defined an interface for closure parameter
$myInterface
that does not exist (check for typos) - You did not define a use statement for the interface assigned to parameter
$myInterface
- You forgot to specify the interface for parameter
$myInterface
(type hint is missing)
- Add temporary echo or var_dump() statements inside the closure to inspect values.
- Catch exceptions and display the error message in the browser for easier diagnosis.
- Log errors using the provided SDK interface