This topic was automatically generated from Slack. You can find the original thread here.
Hi everyone, so I am stuck in a bit of a problem with custom code workflows. I have an HTTP trigger with a node.js code attached to it. I have set the response type to custom as well. When I send a request using my own python code to it, it always gives me “error in workflow”. However, for the SAME python request, the pipedream console logs show me the response was successful and correct output was generated. I am completely stumped as to why that is happening. Can someone please help me? I have even tried doing it with a very simple “hello world” type node.js code but it is still giving me “error in workflow” when I send the request from python.
When you set the trigger to return a custom response, you need to return an explicit response from your workflow. You can do this with the HTTP response step or in code Triggers - Pipedream
Just submitted the support ticket. So this one is the simple test “hello world” type example I was talking about, not my real workflow. However, both have the same issue. If I can get this test workflow working, I’ll be able to modify my real one accordingly and get it working too.
Please let me know if you also want me to create another ticket for my real workflow