Claude "can't create artifacts in this environment": fixes
Claude says it can't create artifacts in this environment or "Tool not found"? Toggle code execution and file creation, check for hidden artifacts, and more.
The Liite team7 mnt baca
Short answer
The fix people report most often is turning Code execution and file creation off and on again in Claude's settings, then starting a new chat. If that fails, check whether the artifact was created but hidden, then rule out your browser, your plan and an outage on Anthropic's side.
You ask Claude for a page, a document or a small app. Instead of an artifact, it tells you it can't create artifacts in this environment, or a "tool not found" message appears.
Claude can't create artifacts in this environment
People on Reddit describe this in several threads between 2025 and January 2026. It often works one day and fails the next, with the same kind of request.
Why it happens
Nobody outside Anthropic has confirmed a single cause, so read this as a pattern from user reports, not a diagnosis. The message reads as if the chat has lost access to the tool that creates artifacts and files. Claude then answers as though that tool doesn't exist. Here are the likely causes, most common first.
- The feature switch is stuck or off. The fix people report most is toggling Code execution and file creation off and on again. That suggests the setting can get out of sync with the conversation, though Anthropic hasn't said so.
- The tool is missing in that one conversation. Some people say a fresh chat works while the old one keeps failing.
- The artifact exists but is hidden. In a 2025 thread, people found their artifacts weren't missing. They were tucked into the menu of the most recent artifact.
- A problem on Anthropic's side. Several threads describe many people hitting it at once, which points to a service issue rather than your account.
- Your plan or app doesn't offer the feature. Availability can differ by plan and app version. If the option isn't there at all, no toggle will bring it back.
Anthropic changes the Claude interface often, and setting names and locations may have moved since those threads. Treat the steps below as things to try, not guarantees.
| Symptom | Likely cause | First thing to try |
|---|---|---|
| "Can't create artifacts in this environment" on every request | Feature switch out of sync | Toggle Code execution and file creation |
| Works in a new chat, fails in the old one | Tool lost in that conversation | Start a new chat |
| Claude says it made something, nothing visible | Artifact hidden in a menu | Open the menu on the last artifact |
| Fails in one browser, works in another | Stale session or extension | Private window or other browser |
| Fails everywhere, for everyone | Outage or incident | Check Anthropic's status page, wait |
| No toggle in your settings | Plan or app doesn't offer it | Check the help center for your plan |
Step-by-step fixes
Try these in order.
1. Toggle the feature off and on
- Open Claude's settings.
- Look for Code execution and file creation. It may sit under a features or capabilities section, depending on your app version.
- Turn it off and wait a few seconds.
- Turn it on again.
- Start a new chat and send the same request.
This is the fix people in the threads say worked. The exact path to the setting can change, so if you can't find it, search the settings page for "code execution".
Tip
Toggle first, then open a new chat. Testing in the old conversation can make it look like the toggle did nothing when the old chat is the problem.
2. Start a new chat
If the tool failed inside one conversation, a fresh chat gives it a clean start. Paste the same prompt again. Don't keep retrying in the broken chat.
3. Look for a hidden artifact
If Claude says it made something but you see nothing, open the menu on the last artifact in the conversation. The 2025 reports say artifacts could be hidden there. This is worth a quick look before you spend time on anything else.
4. Reload, then sign out and back in
- Refresh the page, or fully close and reopen the app.
- If nothing changes, sign out.
- Sign in again and try a new chat.
5. Try another browser or the other app
Open Claude in a private window or a different browser. If you were in an app, try the web version, or the reverse. If it works there, the problem is local: a stale session or a browser extension is the usual suspect. Disable extensions one at a time to find the one responsible.
6. Check for an outage
If the toggle changes nothing and the error shows up everywhere, Claude may be having a problem on Anthropic's side. Look for Anthropic's status page, which you can reach from Anthropic's own website, and try again later. Waiting is the only fix for an incident.
Warning
Before you toggle settings or sign out, copy any long text or code from the conversation you care about. Nothing in the threads says toggling deletes anything, but a quick copy costs nothing.
What won't help
- Re-sending the same prompt in the same chat. If the tool is gone for that conversation, you tend to get the same answer.
- Rewording the request or telling Claude to "just do it". The problem is the tool, not your wording.
- Waiting inside the same chat for it to fix itself. Switch to a new chat instead.
- Hunting for a setting your plan doesn't include. If the option isn't there, check the help center for what your plan covers.
Get working code while it's broken
You don't need the artifact feature to get a working page. Ask Claude to write the whole page as a single HTML file inside an ordinary code block. Then:
- Copy the code.
- Paste it into a plain text file.
- Save it as
index.html. - Double-click it to open it in your browser.
This works whether or not artifacts do. Ask for one self-contained file, with CSS and JavaScript inline, so nothing depends on other files.
Checklist before you try again
- Code execution and file creation is on, and you toggled it off and on at least once.
- You're in a new chat, not the one that failed.
- You checked the menu on the last artifact for a hidden one.
- You tried a private window or a second browser.
- The status page shows no incident.
- Your plan and app version offer the feature.
If nothing works
Contact Anthropic through the support or help center in Claude. Include:
- the exact message ("can't create artifacts in this environment" or "Tool not found");
- the date and time (with time zone) of the failures;
- your plan, and whether you use the web app, desktop app or mobile app;
- what you already tried: the toggle, a new chat, another browser, signing out.
A message you can copy:
Hello, Claude says it "can't create artifacts in this environment" (or shows "Tool not found") whenever I ask for a page or document. This started on [date, time, time zone].
Plan: [Free / Pro / Team]. App: [web / desktop / mobile], [browser and version].
I already tried: turning "Code execution and file creation" off and on, starting a new chat, a private window, another browser, and signing out and in. The problem is still there.
Could you check whether artifacts are enabled for my account? Thank you.Putting the HTML online
If your goal is just to share the page Claude wrote, you can upload the HTML file as a Liite uploaded site and get a live link. A Free uploaded site needs a card on file, is not indexed by search engines, goes offline 7 days after the last publish, and is capped at 3 MB. It runs HTML, CSS and browser JavaScript, not server code. This doesn't fix the artifact error in Claude. The steps are in put an HTML file, a zip or a PDF online.
Common questions
Is it my account or is it everyone?
The threads describe it hitting many people at once, which points to something on Claude's side. A new chat, a second browser and the status page will tell you which case you're in.
Will turning the toggle off delete anything?
Nothing in the threads says it does. The people who fixed it describe switching it off and on, then continuing. If you're worried about a particular conversation, copy the important text out first.
Does the fix last?
Reports don't say. Some people saw the error come back, so keep the toggle step in mind.
Why does Claude say it made an artifact when I see nothing?
In the 2025 reports, the artifact was sometimes hidden in the menu of the most recent artifact. Check there before assuming the request failed. If it isn't there, ask Claude to put the full code in a normal code block instead.