I have made a workflow on dify, and am trying to connect it through our API connector.
I have connected the file upload api but I am having an issue connecting to the “Execute Workflow”.
Screenshot of the API connector
1.Dify (Atnest) - file Upload
From what I remember, there’s two case for 400 error on WF API.
A) You are sending a request where a mandatory parameters is missing. Solution: set this parameter to optional if this is not mandatory. Other solution: switch from manually entered parameters to detect request data. When you are using detect data, there’s no mandatory fields.
B) You have a conditionnal on your workflow that is not met when doing the request. You could set the “Return 200 if condition is not met” if the service that is sending the request really need you to return a 200 everytime.