Dojo,
I have a simple user defined API, that throws these errors when I call it.
Any ideas what the problem could be ?
SLUserDefinableAPiManager logs:
==
2025/05/15 18:27:47.954|SLNet.exe|SendExecuteScriptEntryPointMessage|ERR|0|307|The executed automation script action using script 'APIChecker' did not return a valid ApiTriggerOutput.User-Defined API Endpoint (DxM) logs:
==
2025-05-15 18:27:47.955 +02:00 [ERR] Received InvalidAutomationActionResult from DMA with ID '123'.API Response:
{
"errors": [
{
"title": "Error occurred while handling the request, contact your admin with the provided errorCode and faultingNode ID.",
"detail": "Something went wrong, contact the system administrator.",
"errorCode": 13,
"faultingNode": 123
}
]
}DMA : 10.5.3
Hi Wale,
After taking a quick look on your system, I noticed that the 'Compile as library' option was checked. This causes the API requests to fail. The error isn't very clear on that, I made a task to validate this specific case and return a more intuitive error.

Hi Wale,
The script looks fine. Could you check the settings of the user-defined API and ensure that the "run method (no output)" option is NOT selected?
Hope this helps!

Hi Flavio, my current settings are as you have shown but still getting the error.
Thanks for following up on this Wouter.