Activepieces multipart Content-Length: what body Sume wants
Activepieces 0.91.0 sends known-length multipart with Content-Length. Sume job submits still need JSON; send media as public HTTPS URLs or a PUT upload.

For Sume, do not pick multipart form-data in an Activepieces HTTP step. Job submits must be application/json; a request in any other content type fails with 415 unsupported_media_type. Pass media as a public HTTPS URL inside the JSON body.
Activepieces 0.91.0 (2026-09-14) lists "send known-length multipart bodies with Content-Length instead of chunked (#15367)". That changes how multipart is framed, not whether Sume accepts it. Sume side: Errors and credits, read 2026-10-01.
What happens if I send multipart to a Sume submit?
The documented error is 415 with code unsupported_media_type: "The request body was not application/json", and details.received_content_type shows what arrived. A fixed Content-Length does not change that.
How do I get a local file to Sume?
The API reference says to prefer public HTTPS media URLs in generation requests. The /v1/assets upload endpoints are implemented but hidden from the public OpenAPI document, so treat them as undocumented contract. In hosted MCP, the flow is create an upload URL, have the client PUT the bytes, then call assets_complete; hosted MCP cannot read files from your machine.
Which Activepieces body mode fits each call?
| Call | Body mode in the HTTP step | Why |
|---|---|---|
| Generation submit | JSON | Anything else returns 415 unsupported_media_type |
| Input image or video | JSON field holding a public HTTPS URL | Docs prefer public HTTPS media URLs |
| Signed upload target (MCP assets flow) | Raw bytes with PUT | Docs: client PUT bytes, then assets_complete |
| Status poll | None | GET reads need no body |
Should I host the file first?
If the file is not already at a public HTTPS URL, put it on storage you control and pass that URL. Treat signed upload and download URLs as temporary secrets, per Sume's safety rules, and keep them out of flow logs. For image upload size limits on another vendor and the URL approach, see Ideogram multipart upload limits vs Sume public HTTPS image URLs.
Sources
Related posts
More in Integrations
- Claude Code 2.1.287: MCP server stopped connecting, what to set
Claude Code 2.1.287 added MCP URL prompts. If a server no longer connects, its changelog says to set bareElicitationCapability. Check Sume with mcp_health.
- Claude Code 'ask again next time' for reads outside the project
Auto mode now offers a one-time yes for a read outside your working directories. Where Sume results land, and how to keep media inside the project.
- Claude Code fork subagents keep plan mode: paid Sume tools
Since 2.1.285 a fork subagent runs under its parent's permission mode and cannot exit plan mode. Two more gates still guard paid Sume MCP tools.
- Claude Code headless MCP: a failed first connect is now retried
Since 2.1.283, headless Claude Code retries a remote MCP server whose first connect fails transiently. What to check in a CI run that calls Sume.
Written by Sume