---
title: "SW33003: Span belongs to another file"
description: "A source range from one file was applied to another file."
image: "https://stillwind.dev/og.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://stillwind.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# SW33003: Span belongs to another file

This error occurs when a source range that belongs to one file is applied to
another file. The offsets may be valid numbers in both files, but they point to
different text. The message shows the expected and the actual file IDs.

## How to fix

- With an official integration, report the error with the files and the action
  that caused it.
- In your own integration, keep the file ID together with each range through
  caches and conversions.

Source: https://stillwind.dev/docs/errors/SW33003/index.mdx
