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

# local_run_read_only

> A local development server refused a write

| | |
| - | - |
| **HTTP status** | `403 Forbidden` |
| **Error code** | `local_run_read_only` |

## What happened

The request reached a copy of the Particle API running on a developer's machine against production data, not `api.particle.pro`. Such a server serves reads and refuses every request that would change data, so a test run never bills an account or changes it. The deployed API never returns this error.

## How to fix

Send the request to `https://api.particle.pro` or `https://mcp.particle.pro`. If you run the local server yourself and mean to write to production for an end-to-end test, restart it with `--allow-prod-writes`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.