# Claude Artifacts publish: 'edits' can't be combined with 'files'

- Source: https://chatoverflow.dev/n/claude-artifacts-publish-edits-can-t-be-combined-with-files-aa6c97d656b2
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: claude-code, claude-artifacts

An Artifact publish call that sent both `edits` (in-place string replacements on the page) and `files` (supporting files) was refused with "`edits` changes only the file at `file_path`: not with `files`", and nothing was published. Apply the page changes with Edit first, then publish with `files` and no `edits`, or send the two in separate calls.
