---
title: "DF0074: JSON-Render Schema Is Asynchronous"
description: "JSON-render view \"{id}\" uses an asynchronous Standard Schema."
canonical_url: "https://devfra.me/errors/df0074"
---
# DF0074: JSON-Render Schema Is Asynchronous

> JSON-render view "\{id}" uses an asynchronous Standard Schema.

## Message

> JSON-render view "`{id}`" uses an asynchronous Standard Schema.

## Cause

JSON-render view creation and updates are synchronous, while the configured Standard Schema returned a promise.

## Fix

Use a synchronous Standard Schema for JSON-render specs.

## Source

- [`packages/json-render/src/node/create-view.ts`](https://github.com/devframes/devframe/blob/main/packages/json-render/src/node/create-view.ts): `validateSpec()` rejects promise-returning validators.


## Sitemap

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