This topic was automatically generated from Slack. You can find the original thread here.
Hello! I am using Pipedream Connect to authenticate users and then trigger a workflow using the pd.invokeWorkflowForExternalUser method, but I keep getting this error: “Error: HTTP error! status: 400, body: Error in workflow”. I am running the method on the backend of a next app. The method is essentially the same as the example given, except I am replacing a few values with variables, passed from the frontend. The pipedream workflow is triggering and running correctly. My hope is to be able to return the response from the pipedream workflow and use that data in our app. Any suggestions would be appreciated - been stuck on this for the better part of the day. Thank you!
The memory is at the minimum 256mb. The workflow itself is flowing smoothly with no timeouts and is returning the expected data (its the channel list of the dummy slack account previously authenticated on my app.
I see that the return_http_response step isn’t merged to production, right? I have a feeling that might be the issue, since your trigger is configured to return a custom response from the workflow.