---
title: "DF0072: Snapshot Names Unknown RPC Method"
description: "rpc.snapshot names \"{method}\", but no RPC function is registered under that id, so there is nothing to bake into the static build."
canonical_url: "https://devfra.me/errors/df0072"
---
# DF0072: Snapshot Names Unknown RPC Method

> rpc.snapshot names "\{method}", but no RPC function is registered under that id, so there is nothing to bake into the static build.

## Message

> `rpc.snapshot` names "`{method}`", but no RPC function is registered under that id, so there is nothing to bake into the static build.

## Cause

A `rpc.snapshot` entry references a method id the context has no RPC function for, so the static collector has nothing to dump. Typically the id is misspelled, or the service/devframe that registers it isn't installed when the build runs.

## Fix

Check the method id, and ensure the service/devframe that registers it is installed (e.g. declared in `services`) before the build collects the dump.

## Source

- [`packages/devframe/src/adapters/build.ts`](https://github.com/devframes/devframe/blob/main/packages/devframe/src/adapters/build.ts): `applySnapshotRpc()` reports this when a `snapshot` entry's method id is missing from `ctx.rpc.definitions`.


## Sitemap

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