Skip to content
Discussion options

You must be logged in to vote

Thanks for sharing your workflow details. Based on the code and recent updates, here’s what you need to check:

  1. Make sure the START node’s Site_Data input is set to type File in the workflow editor. If it’s not, file inputs won’t be accepted and you’ll get the error you’re seeing.
  2. When calling /v1/workflows/run, your payload should use "Site_Data" as a single dictionary (not an array or string), like:
    {
      "inputs": {
        "Site_Data": {
          "type": "document",
          "transfer_method": "local_file",
          "upload_file_id": "your-uploaded-file-id"
        }
      },
      "files": [],
      "response_mode": "streaming",
      "user": "abc-123"
    }
    Do not wrap the file input in square brackets.
  3. After changing i…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@dosubot
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dosubot
Comment options

Answer selected by FierdCS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant