When I run via UI, it runs error free. But I can't run it through API, which I need for advanced workflow orchestration.