Using uppy with cloudflare images

When I’m trying to upload the Cloudflare images using uppy, I get the following error:

ERROR 5400: Bad request: Error parsing form fields

Attache is my form data:

the only supported field out of your example is file, all others are rejected. We do this to prevent future additions compatible, otherwise it won’t be safe to add new fields and break someones workflow.

fields for single upload are:

  1. id (optional) - custom id, instead of generated UUID
  2. metadata (optional) - json structured schema less data
  3. file or url (required) - file with binary data or url is a link where to fetch an image from.

there is also direct upload API that supports extra field:

  1. expiry (optional) - time duration after a link to expire

This topic was automatically closed after 15 days. New replies are no longer allowed.