---
title: "DF0012: Storage Parse Failed"
description: "Failed to parse storage file: {filepath}, falling back to defaults."
canonical_url: "https://devfra.me/errors/df0012"
---
# DF0012: Storage Parse Failed

> Failed to parse storage file: \{filepath}, falling back to defaults.

## Message

> Failed to parse storage file: `{filepath}`, falling back to defaults.

## Cause

The persisted storage file (e.g. `auth.json`) could not be parsed as JSON. Storage falls back to the initial value so the devtool can continue.

## Fix

Delete the file to reset to defaults, or investigate how it became malformed.

## Source

- [`packages/devframe/src/node/storage.ts`](https://github.com/devframes/devframe/blob/main/packages/devframe/src/node/storage.ts): `createStorage()` catches `JSON.parse` errors and logs `DF0012` (with the cause attached) before falling back to `initialValue`.


## Sitemap

See the full [sitemap](https://devfra.me/sitemap.md) for all pages.
