Skip to content
Refusals and errors

File and limit refusals

Why a file, image or upload was refused for its type or size, or because a limit was reached, and what to do instead.

Too much content

Code: content_too_large

You hit a size or count limit:

  • Adding Knowledge documents: too many at once, or one document is too large. Add fewer at a time.
  • Importing a skill from a GitHub link: the skill has more files than an import can fetch. Remove generated or vendored files from the skill folder.
  • Inserting an artifact with a browser shortcut: the artifact is too large to insert. Install it with deftro instead.

Do not split one skill into several just to get under a limit. An artifact version allows up to 500 files of 1 MB each.

Binary files are not allowed

Code: binary_file_not_allowed

Only text files can be published or added, because a reviewer has to be able to read them. Remove the file the message names. Screenshots belong in the artifact's Previews, not in its files.

This file type is not allowed

Code: file_type_not_allowed

Executables, libraries, disk images and archives (for example .exe, .jar, .dmg or .zip) are refused. Ship scripts as readable source, such as .sh, .py or .js. Knowledge only takes text and Markdown.

The upload is too big

Code: payload_too_large

A sponsored ad file is over the size allowed for its kind. Export a smaller image or a shorter video.

A limit was reached

Code: limit_reached

An account may only have so many Knowledge collections, a collection so many documents, and an artifact so many preview images and one demo link. Delete something you no longer need, or remove the existing demo link first.

The image was refused

Code: invalid_image

For previews, logos and Feedback screenshots. The image was not found on the image host (upload it again), or it is the wrong format, too large, or too many pixels across. Previews take JPG, PNG, WebP or GIF; a logo must be a square PNG, JPG or WebP. The message names the problem.

The image could not be checked

Code: image_check_unavailable

Deftro could not confirm your upload with the image host. Try again in a moment.

Checked against the product on .

Related articles